Page 1 of 1

checkpoints -i wanna tell you how to

PostPosted: Fri Jul 27, 2007 7:25 am
by Wolly08
i have just found out how to make a checkpoint and i really want to share it with you all
first you make an actor (player) and a checkpoint actor (checkpoint) make an event- player collision on any side if actor check point there are two things you can do A) make your check point very high so that the actor cant possibly jump over it and make all the 'monsters' on the other side of it do this event- player collision on any side of actor monster destroy actor player and create actor player on codinetes (put the coordinates of the checkpoint here and make sure you select no on relative to creator(put your mouse over the checkpoint and at the top of the screen (where the options are eg path new actor you will see the coordinates (x axis on the left Y on the right))))or you can just move the actor the the coordinates(this will keep the points) 8)

B

PostPosted: Fri Jul 27, 2007 7:31 am
by Wolly08
B would be much simpler all you have to do is to make a checkpoint that is any size you want and make an event- actor collission on any side of actor checkpoint destroy actor player(this may not work i havnt tested it yet)(if it dosent then just set the transparancy to full(make the actor invisible) and create an actor player2 who inherites events from player and has the same animation 8)

PostPosted: Fri Jul 27, 2007 2:50 pm
by Oman
ok... well, what i do is...

1. (checkpoint) collision an any side of player -> Script Editor
make a var called xpos, and one called ypos and save them in a save group called saves
Code: Select all
xpos = x;
ypos = y;
saveVar("game","saves");


2.then on destroy actor of player -> script editor
Code: Select all
loadVar("game","saves");
x = xpos;
y = ypos;


I think thatll work :)