Nosleinad

Storyteller
Veteran
Joined
Dec 12, 2012
Messages
351
Reaction score
29
First Language
Portuguese
Primarily Uses
Hello,

  I want to add just one feature to CDR row script linked below, that will only consider enemies in the back row if there are enemies in the front row protecting them:

http://forums.rpgmakerweb.com/index.php?/topic/14611-cdr-rows-ve-actors-battlers-and-battle-symphony-plugins/

  At line 119 of the script, its explained and set the ENEMY_BACKLINE_COMMAND as follows:

# This defines an imaginary line that separates front and back row for enemy
# battlers. When an enemy has a screen_x value smaller than this - when
# SideView returns true, or a screen_y
# value smaller than this - when SideView returns false,
# it will be considered as being in the back row.
# Let this value set as 0 if you don't wish the enemies to have this feature.
ENEMY_BACK_LINE = 0 #125
  I want to set the ENEMY_BACK_LINE as, lets say, 125, but if there are no ENEMIES with more than 125 screen_Y (front row) or if they die, the enemies in the back row will be no longer protected and as such they should be considered now as being in the front row.

  The logic would be something like this:

   ENEMY_BACK_LINE <= 125     IF    ENEMY_EXISTS_LINE >= 125

  If someone can help me, please feel free to discuss the details here or to PM me. :)
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?
I've been working on status effects since last thursday, and today I finished the core mechanic of Zombie, Teleport, Curse and Recall. Zombie and Curse are lacking a few things to make them complete atm. Teleport though is the "HAHA" spell for some of my mobs, but can "NOPE" at them with Recall.

Forum statistics

Threads
115,169
Messages
1,087,777
Members
149,711
Latest member
GHench
Top