#Is there a way to make this simpler?

1 messages · Page 1 of 1 (latest)

finite cradle
#

Explanation:
Each room you go through like room 1 a global variable will increase by 1 per room and if you die EXAMPLE: in room 9 and you get 9 Money and if you reach a certain point like Room 15 you get 10 Money just a bonus and it will reset as shown since if i do it in this way it will just make me very laggy due to the amount of scripts there are

sullen pecan
#

then set Rfr back to 0

fleet laurel
#

set (kroner) = (rooms)
wait 0.1
set (rooms) = 0

finite cradle
#

@fleet laurel
Can i use + instead of = ? I want it to Add

fleet laurel
#

yeah

#

works the same

#

remember to set the rooms and kroner to 0 if u will use it again

finite cradle
#

@fleet laurel
Um what ?
I need to set Kroner to 0 too or just set the room to 0 for it to be usable again im confused sorry

sullen pecan
#

since you said it will reset

#

(tbh im still clueless what you really want)

finite cradle
#

@sullen pecan
No does Kroner NEED to be reseted too or not
Kroner is the Money

finite cradle
#

@sullen pecan
Yes but the way Kab00m said it made me real confused

sullen pecan
#

how abt this

#

When created
Inf Loop
If Room = or > 15 then
Set Kroner = Rooms + x
or else
Set Kroner = Rooms

#

When player exit
Set Rooms = 0