In the room script, how to set the MoveCharacter True?
I can do it by selecting commands with the mouse but not in room script.
I tried MoveCharacter(GINA,210,186, True); but it doesn't work.
Thanks in advance.
Volcan
Hmmm I think there may be something missing in the interaction editor.
If it's set to true the script function should be MoveCharacterBlocking()
I think CJ should have a look at it.
Yeah, the Text Script example for MoveCharacter is wrong when you set Wait to True. It's a bit confusing I agree, but it's actually rather difficult to fix due to the way the interaction editor works. I'll look into it.
I may be way off but is the problem with the "Text Script Equivalent Code"? I think that is where Volcan's confusion is from.
My suggestion: When a person sets the value to true just change the equivalent code to read "MoveCharacterBlocking (CHARID, int x, int y, 0);"
The little Text Script Equivalent Code thing is how I learned to script in AGS. I believe I encountered the same problem. Having that as acurate as possible is a big help for people new to scripting.
later,
-junc
EDIT: or maybe this is what you meant would be difficult to fix Chris...?
Correct, that is what we're talking about.
And yes, it's what is difficult to fix because currently the interaction editor just supports one text script line for each interaction command.
Thanks folks. It works.
Making ags games is still new for me and I confused
about MoveCharacter command.
I made DG: the search of the batteries but it was not a serious game.
The next one should be better.
Robin Gravel