How do I ask wheiter he finished the script call? in a herbalism system
#1
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.


Attached Files
.rar   Herbs.rar (Size: 168.38 KB / Downloads: 1)
Reply }
#2
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#3
Cleaner rewrite with your requested switch can be found Here
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#4
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.
[Image: IMG28-1336331545.gif]
sig~na~ture
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 127 11-22-2024, 07:02 PM
Last Post: JayRay
   ACBS - Atoa Custom Battle System and TP System zlsl 2 4,572 10-20-2021, 05:09 AM
Last Post: zlsl
   Script compatibility help Lord Vectra 3 4,607 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,864 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 16,180 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,496 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   I want to add an Atoa Custom Battle System command cut-in. zlsl 11 13,911 11-11-2019, 08:55 PM
Last Post: DerVVulfman
   Question about ACBS (Atoa Custom Battle System) aeliath 10 12,785 08-08-2019, 02:50 PM
Last Post: aeliath
   (RMVXace) Battle error with Tankentai's battle system, help. x( Starmage 0 3,912 02-14-2018, 04:25 PM
Last Post: Starmage
   Help iwth script (RGSS Player crash) Whisper 3 8,536 06-17-2017, 05:03 PM
Last Post: Whisper



Users browsing this thread: 1 Guest(s)