Chaos Project

RPG Maker => Event Systems => Event System Troubleshooting => Topic started by: Hellfire Dragon on July 19, 2009, 12:21:30 pm

Title: [RESOLVED] Skills Based On State Problem
Post by: Hellfire Dragon on July 19, 2009, 12:21:30 pm
Okay, I'm only posting the problem here because I can't post in event system troubleshooting for some reason :P Anyway here's the problem,
Okay I have a commmon event that checks whether or not the state is inflicted on actor 1 and then checks if switch is on, if the switch the on the skill is learned, if the actor doesn't have the state inflicted then all the state skills are removed.
Spoiler: ShowHide
(http://img156.imageshack.us/img156/4260/screen1f.png)

That's no problem, now here's the problem, I was going to set to up another event to check if the player learnt one of the state skills then turn a switch on and remove the skill, this won't work because the player can't have the skill if their in the state and as long as the event that checks if the player learnt the skill is on it will continue to turn the switch on and remove the skill...
See my problem?
Title: Re: Skills Based On State Problem
Post by: Aqua on July 19, 2009, 12:34:01 pm
I actually don't understand what your problem is... o.o

Do you have a screenshot of the eventing that is causing you problems? XD
Title: Re: Skills Based On State Problem
Post by: Hellfire Dragon on July 19, 2009, 01:17:29 pm
No, I need another event but I don't know how I'd set it up. I thought what i had in mind would work but it won't. See I was going to set up another event that checks is the player learnt the skill then the event would turn a switch on and remove the skill, the switch that turned on would be in a conditional branch in the first event. If the switch is on then the player learns the skill. So as you can see in the screenshot of the first event, it checks whether the player has the state inflicted, if it is inflicted then it continues to check a series of switches, if they're on the player learns a skill if they're not on, the player doesn't, if the state isn't inflicted all of the state skills are removed.
The second event I had in mind wouldn't work, the event is checking if the player learnt a skill, if the player learnt the skill, a switch turned on and the player forgot that skill until they had the state inflicted, but since that event is checking if the player has the state inflicted gives the player the skill back, the second one would take it away...
I'm no good at explaining things but see if get it now.
Title: Re: Skills Based On State Problem
Post by: Aqua on July 19, 2009, 01:28:51 pm
Don't have the second one take away the skill, as the first one takes care of that if you don't have the state.
Title: Re: Skills Based On State Problem
Post by: Hellfire Dragon on July 19, 2009, 01:44:12 pm
NVM I got it working, ty anyways Aqua ;)
Title: Re: [RESOLVED] Skills Based On State Problem
Post by: Blizzard on July 19, 2009, 02:43:57 pm
Quote from: Hellfire Dragon on July 19, 2009, 12:21:30 pm
I'm only posting the problem here because I can't post in event system troubleshooting for some reason :P


*slaps self* Fixed.