2 problems: I don't lose Cherry when I down and I experience extreme lag (almost freezing) when the game starts. Here is my Cherry script. Thanks in advance.
For the lag I might be able to help However for the death check right after self UnsetPerk Do a notify Then right above the while(1) in cherry_effect Do an Endon
Let me know how this works out
As for the lag did it start when you added the script or sometime before?
2 things: adding the wait didn't help, unless I misinterpreted your statement. Also, I realized that the innermost while loop in cherry_down() was useless, so I removed it. Here is the current script: Also, wouldn't using a notify never allow for me to use the effects of cherry after my first down? Post Merge: April 25, 2014, 08:40:16 pmOne more thing, using developer 1 in game shows that, at the time of the lag, there is a script runtime error: potential infinite loop: killing thread.
You put the wait in the wrong position, you should be waiting in the else clause, because if you don't, the loop will be terminated by the engine when you don't have the perk as it creates an "infinite loop" error.