Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → How can I get someone to come up on a lift?
How can I get someone to come up on a lift?
2001-01-29, 5:11 AM #1
For my level Boba fett comes up on an elevator (stupid elevator I can't get the thing to work) and then the screen goes into the cutscene, now I know very little about cogs, (making my own anyway) I have got the cutscene cog, but I need a cog that will make Boba Fett go up an elevator, run off it and stop, is this easy or hard, and can someone tell me the command for the cog/anywhere that supplies such a cog, and the reward:I will mention you on the readme file of my lvl. Thank you

------------------
Stormie
Stormie
2001-01-29, 3:05 PM #2
Hmm... okedoke. Is this Boba Fett a AI thingie or is is a _walkstruct? Anyways, you could make it where if he touches an object (you'd hafta edit the cog so it knows what boba fett is beforehand), such as an elevator, it'll go up. Also, you could add a master cog that moves it directly from the cutscene cog. IE:

crossed:
if ((GetSourceRef() == boba) && (GetSenderRef() == elevator_adjoin))
{
WaitForStop(boba); // Wait for boba to stop
MoveToFrame(elevator, 1, 5); // move elevator up
WaitForStop(elevator); // same for elev
}

Of course that will need some fine tuning, but it states that when boba crosses the elevator_ajoin, the cog will wait for him to stop, then move the elevator up, wait for the elevator to stop, and it's done. Add a command to move him off, or you could ditch the crossed: command and like it directly to a path system you may be using already to get boba to move (when he reaches a frame the elevator will move, for example). Since I don't know exactly your situation I can't help you any more.

- sqmagellan

-------

"Bob is watching!" - Bob

↑ Up to the top!