Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Superman95 on Sun 16/11/2003 00:26:51

Title: Why can't I call a character interaction
Post by: Superman95 on Sun 16/11/2003 00:26:51
I'm trying to run a character interaction from inside of a room script with no luck.  I'm sure the mode and character number are correct.  But no such luck.  I don't get an error or anything, it just doesn't ever call the interaction.  Anyone have anything thoughts?
Title: Re:Why can't I call a character interaction
Post by: Scorpiorus on Sun 16/11/2003 01:21:07
If the character's interaction action is set to 'run-script' then that script will be called only when the current function (from which the interaction is called) is done.

~Cheers
Title: Re:Why can't I call a character interaction
Post by: Superman95 on Sun 16/11/2003 04:47:32
I figured it out.  It was actually because I was calling NewRoom in the same script.  I changed the interaction for the room to call one script after the other and that seems to have worked.  thanks.