Run Script Command in the middle of dialog [SOLVED]

Started by Monk, Sat 17/07/2010 06:42:51

Previous topic - Next topic

Monk

Hello friends,
I'm looking for help on this matter,

say i want to execute a script command in the middle of dialog, for example :

when the character is talking with NPC, in the middle i want to put "cEgo.FaceCharacter(NPC);" so the character can change where he's facing at that time.

i wonder if its possible, looking forward for your help.

thank you!  ;D

Calin Leafshade

yep.. simply put some white space before the command in the dialogue.

so like:

Code: ags

Ego:Hi there!
   cEgo.FaceCharacter(NPC);
Ego:How are you?

Monk

that sir, is the killer! thank you so much!

SMF spam blocked by CleanTalk