I want to make a item with a conversation addet to it that after selecting a option from it starts a action.
For Example:
NPC: What do you want to do ?
PC;
option 1: jump me to point A
option 2: jump me to point B
...etc...
Now... is there other way to do this then adding to each option a own script ?
I would like to make one script for all options that checks inside what option was selected and starts a action acording to it.
conversations and taken actions
Moderator: Event DM
- slave_of_emotions
- Scholar of Fools
- Posts: 470
- Joined: Sun Sep 05, 2004 10:04 pm
- Location: The European Union(Germany)
- Contact:
- slave_of_emotions
- Scholar of Fools
- Posts: 470
- Joined: Sun Sep 05, 2004 10:04 pm
- Location: The European Union(Germany)
- Contact:
- Jonezie
- Team Member; Retired with Honors
- Posts: 3905
- Joined: Wed Jun 09, 2004 7:05 am
- Location: Melbourne (GMT +10)
THey should be pretty much the same - it's the same code running, after all, just a slightly different method for running it. If it's something simple, I'd just go with a seperate script for each, because it'll be one script less to write. For something more complicated, I'd ue the variable approach, because if it has a bug, or needs changing, its a lot easier to modify a single big script than a bunch of little scripts.slave_of_emotions wrote:Do you perhaps know out of experiance, with of those two ways is more ressources friendly ?
Hope that helps