#how to make a checkpoint

1 messages · Page 1 of 1 (latest)

marsh escarp
#

all the other ways ive seen is so complicated and im wondering if theres an easier way

dry bay
#

they arent that complicated

unique raven
#

Oh and i almost forgot that you need to put this in the main actor's when object starts/initializes
Set (vector var) = self x,y so it starts as the spawn location

dry bay
#

is that 4.x

unique raven
dry bay
#

was gonna answer this question but your script works ig

#

if you want something a little bit simpler you can make a checkpoint flag with this script (make sure to also make an array global variable with two inputs)

#

and when the main actor died do this hell of a script

unique raven
#

It's simpler

marsh escarp
#

alr thanks

marsh escarp
dry bay
#

global variable

marsh escarp
#

which one

#

sorry im new

dry bay
#

numbers array

marsh escarp
#

hold on

#

how to get this to there

dry bay
#

remove the save.d saved progress thingy and replace it with global variable

#

then you can select the array

marsh escarp
dry bay
dry bay
#

now put the x axis first then the y axis on the dark thingy

marsh escarp
#

like this

#

wait

#

i got it i think

dry bay
#

yeah you do

#

now onto the hard part

#

go to the when dying script on the main actor

marsh escarp
#

ok

#

what now

dry bay
#

do that

marsh escarp
dry bay
#

you can put global variables into the attribute block on the empty slot

#

that way you can get this

#

do the same thing two times, like this "extract" thingy is when picking the Nth item

#

then add a block like that, remove the two digits to make empty slots

#

then put the "extract item" into the empty slots, the 1st item going into the first slot and the 2nd item going into the second slot

marsh escarp
#

got it

dry bay
#

remove the weird crosshair thing and put the X,Y thing (with the array) into the empty slot

dry bay
marsh escarp
dry bay
#

yeah thats correct

#

also the other dying script is your choice

#

you can use the preset one, use an animation or however you like it

#

make sure to always put the respawn block in the end

#

hope this helped

marsh escarp
#

is it done

dry bay
dry bay
marsh escarp
#

yay

#

thanks

junior geyser