Save-Point
How do I ask wheiter he finished the script call? in a herbalism system - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: How do I ask wheiter he finished the script call? in a herbalism system (/thread-5240.html)



How do I ask wheiter he finished the script call? in a herbalism system - Eagleeye1990 - 08-09-2014

Hello follks. Im in need of your help. Im using a hebalism minigame like system which the player must to try to get a flower out in order to get a item. If you cut a root. you lost the minigame and you cant get the item. The problem is: I want the event to be deleted once you achieved to get the item. Because it doesnt delete by itself. The best way would be, I could ask due condinational branch wheiter the script is finished any use a variable to close the event. But I dont know how to and with which command. I hope you understand my problem. Just download the demo and talk to the two pflants which are next to each other. ignore the other events i just wanted to test it. Remember: I need to do this again und again so make sure it can be used as much as possible.
I posted the system below.


RE: How do I ask wheiter he finished the script call? in a herbalism system - DerVVulfman - 09-28-2014

Just noticed this inquiry. Granted, the poster hadn't been on in a while... maybe a 'subscribed thread'

Fairly sloppy, and the author didn't include his name in the scripts. Seriously? From 2008 and he didn't add a detectable switch? I may look into a cleaner rewrite.


RE: How do I ask wheiter he finished the script call? in a herbalism system - DerVVulfman - 10-05-2014

Cleaner rewrite with your requested switch can be found Here


RE: How do I ask wheiter he finished the script call? in a herbalism system - greenraven - 10-06-2014

A lot of scrips are actually unnecessary and can easily be evented. Scripts tend to bog down games a lot. If you can help it, try to event it, it'll go a long way for your game.