character following player

Started by remmies, Sun 18/07/2004 02:34:24

Previous topic - Next topic

remmies

I am sure this must have been asked before but i couldn't find it any where in the forums. How do i make it so that a charcter follows the player around???

monkey0506

FollowCharacter (CHARID, 1)

or something like that. I think.

TerranRich

Next time, please search the AGS manual. Thanks. :)
Status: Trying to come up with some ideas...

monkey0506

Was I actually right about something???

remmies

 ;Dhaha, Yes you were right about the line of code itself, but now where do I put it in the script?I havn't done anything in the game except made my first room and right now I just want to test it, so where do i insert the line of code into the script?

Mr Flibble

Whenever you want it to happen.

For example, if you want it to happen after your intro, put the line in after the intro script.

If you want it to happen when the char clicks on a hotspot, put it in the interaction ed.
Ah! There is no emoticon for what I'm feeling!

TerranRich

This is in the BFAQ: http://bfaq.terran-x.com/#coding03

This is a common question. New users usually ask where they put code. It's a very simple answer: If you want to display a message rght when the room first loads, after the fade-in, then you would open up "Interaction Editor" and look for the "Player enters room (after fade-in)", and put it there.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk