Jump to content
Sign in to follow this  
j-man

Moving someone

Recommended Posts

Ok, this is probably really simple but I'm stuck. I have a loon named 'shop1' and when the player enters a trigger, 'shop1' is suppost to move to a marker called 'move1' using the setpos command. When the player goes into another trigger 'shop1' will move to another marker called 'move2'.

My problem is that i dont know what to type in the trigger to make the guy move. sad_o.gif

Share this post


Link to post
Share on other sites

in activation line:

shop1 setpos (getmarkerpos "move1");

or

shop1 setpos (getmarkerpos "move2");

Share this post


Link to post
Share on other sites

Or you could make 2 gamelogics and have it

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">shop1 setpos getpos GL1

or

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">shop1 setpos getpos GL2

Name the Gamelogics GL1 and GL2 of course.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×