Making a lift: how can I make it carry my char.

Started by Mr Jake, Thu 12/06/2003 19:24:57

Previous topic - Next topic

Mr Jake

Im making lift using Insta game pack (it rocks) and I was wondering how to make the lift carry my chars and if there is a animation for the door open and close on the lift shaft anywhere :)

thxs

Spyros

Just make the character walk on the lift. (lets say LIFT object number is 0 )
Then use this script
while (character[NAME].y>0 {
SetObjectPosition(0,GetObjectX (0),GetObjectY (0)-1);
character[NAME].y-1;
Wait(1);
}

This will move the char along with the lift.
You can change the numbers to your needs.


Mr Jake

i cant change that cause I dont really understand a line of it lol,
thxs for the script but can you explain it plz?

SMF spam blocked by CleanTalk