Valery
Posts: 2196
|
Okay, I found the reason to that !!EA bug. Is the erm help which must be updated and fixed.
It says:
Code:
Support for stack experience on the battle field.
You can set experience points, experience lines and experience parameters for any creature on the battle field.
Use any !!EA command for this. To refer to a stack on a battle field you need to mention a stack index in negative range:
!!EA-1:... stack 0
!!EA-2:... stack 1
..
!!EA-42:... stack 41
As before you can use a positive value to apply the command to a type of creature. You may set experience parameters for any stack on the battlefield, right in BA0 (BA50) trigger sections or later during a battle.
Or the problem is that troops in BA are in processing of converting to battle stacks, and probably this is the reason we get strange values in their stats. The script works perfectly in BF trigger, no bug.
So I will update the help and I saved a lot of debugging time to Bersy))
Now I know about 10 maps which need to redo the code, including those from Jim. Which shows again erm help is not God's word.)
(This post was last modified: 14.05.2015 02:06 by Valery.)
|
|
14.05.2015 02:03 |
|