RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] Help with common events skill

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 85
I'm trying to create a morphing skill (werewolf/druid) to be used in and outside battle. I created a common event that takes care of the transformation and made a skill that activates it.
But it doesn't work when I test.
I know my common event is correct because if it's activated by a switch it works just fine, the problem is when the skill is the trigger.
I'm starting to think that it's a script problem, could someone help?
« Last Edit: April 13, 2008, 11:37:33 PM by lipecau »

**
Rep:
Level 87
can you get some screenshots of the event please :)

**
Rep: +0/-0Level 85
I'll have to remake it because I deleted it since nothing worked. But it's basically a party member switch (or parameters change)
As in the human member is removed and the animal version is added. Or parameters and graphics are switched. Haven't decide the best way since neither work.

**
Rep:
Level 87
well the best ider would be a graphic switch (what i think) but i dont know much about the problem once you remake send the event on screen shots and i will have look to sort it out :)

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Okay, I think I know what your problem is, but I'm not exactly sure how to easily fix it. First I need to know: when you say that the event doesn't work, do you mean that when you try to cast the spell on yourself outside of battle, it buzzes at you and won't let you cast the spell?




**
Rep: +0/-0Level 85
Okay, I think I know what your problem is, but I'm not exactly sure how to easily fix it. First I need to know: when you say that the event doesn't work, do you mean that when you try to cast the spell on yourself outside of battle, it buzzes at you and won't let you cast the spell?
Yes, in battle it works, but outside it buzzes, and I need it more outside than inside of battle.
I can't take snapshots now because I'm not in windows at the moment.

********
Furry Philosopher
Rep:
Level 94
Rawr?
2013 Best RPG Maker User (Creativity)Randomizer - GIAW 11Gold - GIAW 11 (Hard)Secret Santa 2013 ParticipantFor frequently finding and reporting spam and spam bots2012 Best RPG Maker User (Programming)2012 Best RPG Maker User (Mapping)Secret Santa 2012 ParticipantGold - GIAW 9Project of the Month winner for September 2008For taking a crack at the RMRK Wiki2011 Best RPG Maker User (Programming)2011 Kindest Member2011 Best Veteran2010 Most Deserving Of A Promotion2010 Best RPG Maker User (Technical)
Ah. The problem is that when the developers made VX, they asked themselves "What would a player want to cast a spell on himself for other than to either heal himself or give himself a good status?". So they disabled the ability to do anything other than that to prevent a player from accidentally casting a bad spell on himself.

Your problem is that your spell does NOT heal the character or give a new status. Hence, your spell will always miss in battle (although the event should still work anyway), and it will not work at all outside of battle. As far as I know, there is only one solution to this: You have to make a wolf status.

Make the skill give you this "fake status" in addition to activating the common event. This will solve all of your problems, except that your spell would only ever work in one direction. You'd be able to turn into a wolf, but not be able to use the same spell to turn yourself back into a human again (assuming that your spell works both ways in the first place).

Edit: Just a thought, if you remove the "fake status" from your player at the end of the common event, you should be able to cast the spell on yourself again. This is all, of course, assuming that the same spell is used in transforming the player back from a wolf to a human.




**
Rep: +0/-0Level 85
 :tpg:
Ok I did it! Back and forth, this is what I've done:
Created the Status + Common Event.
The common event is a conditional branch (If switch 1 is off) that applies the parameters, graphics, etc., removes the status and turns the switch 1 on.
The second part of the branch (Else, switch 1 on) it removes all the changes and turns switch off.
Thank you very much for the help