Jump to content

Thordon123

Member
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Thordon123

  1. Thordon123

    Help with checkIsAlive for Troops

    Hime's Enemy Reinforcements: http://himeworks.com/2015/11/enemy-reinforcements-mv/ Hello all! I'm new to MV and I'm using a plug-in right now called Hime's Enemy Reinforcements, which lets you introduce new enemies to a battle by the troop or individually. What I hope to create is a wave-based battle system, where a new wave of enemies appears after the prior wave dies (you kill one troop of enemies, another troop appears, that kind of thing), which I should be able to do with this plug-in, however on the page it says that I need to use the script call: $gameTroop.isTroopReinforcementAdded(troopId, checkIsAlive) The problem is, when I use this, I get a console error telling me that checkIsAlive is undefined. At first I thought the problem was with the Yanfly Engine, but I still got the error after I had disabled all of my YEP plugins. So I guess that I had to define checkIsAlive myself, but the thing is I have no idea how to do that. Is it a common event? A variable? If anybody could help me out with this and tell me how to define it then it would be much appreciated, especially because this is the last part of my combat system I need to make before I can start balancing it. Thanks a lot, and I'm sorry if this is in the wrong place! PS: I've attached a screenshot of the console error. I know it might look like Yanfly is the problem there, but like I said even with YEP disabled it still doesn't work.
  2. Thordon123

    Help with checkIsAlive for Troops

    I am running that already actually :/ Does the event look correct at least?
  3. Thordon123

    Help with checkIsAlive for Troops

    Thank you that's very helpful. However it still doesn't work for me. I'm trying to check if the ORIGINAL troop is alive using the script, and then if it isn't, adding the next troop in after. Here's what I have so far, could you offer any suggestions? I'm a really terrible eventer
  4. Okay guys, so here's my issue, I'm trying to design a skill called Aimed Shot, which applies a state called Aim to the user that gives them +30% to hit and THEN attacks the enemy they've selected. I've already asked for help on the rpgmaker forums, and someone told me to use: a.add_state(26); a.atk * 4 - b.def *2 Except when I use that the game crashes and I get the error message ------------------------------------------------------------ Script 'Game_Battler' Line 352: SyntaxError occured Unexpected tSTAR, expecting $end a.add_state(26); a.atk * 4 - b.def *2 ------------------------------------------------------------ I've tried putting the "end" everywhere but nothing works- not in the middle and not in the end. Does anybody know how to do this? I'm not much of a programmer so I'm pretty lost and the skill is essential for my combat system. Thanks in advance!
×