I've had a bug in my map for some time and I think I've finally isolated it. I'll need some help in fixing it though.
Here is a map with the bug demonstrated: http://www.hiveworkshop.com/forums/pastebin_data/9wods9/_files/Spellbook bug2.w3x
I'll explain it here though, as it's very easy to see. The map has 1 paladin for player 2 and 1 archmage for player 1 (you). The paladin has been given the spellbook ability (modified so it is not an item ability but rather a unit ability).
When you execute the trigger below as player 1 the custom script orders Paladin 0001 to open his spellbook. The result: the Archmage, even though he hasn't been ordered to do anything, has all his abilities removed (including move and hold position and such), as if he opened a spellbook with nothing in it.
Here is a map with the bug demonstrated: http://www.hiveworkshop.com/forums/pastebin_data/9wods9/_files/Spellbook bug2.w3x
I'll explain it here though, as it's very easy to see. The map has 1 paladin for player 2 and 1 archmage for player 1 (you). The paladin has been given the spellbook ability (modified so it is not an item ability but rather a unit ability).
When you execute the trigger below as player 1 the custom script orders Paladin 0001 to open his spellbook. The result: the Archmage, even though he hasn't been ordered to do anything, has all his abilities removed (including move and hold position and such), as if he opened a spellbook with nothing in it.
-
test
-
Events
- Player - Player 1 (Red) types a chat message containing test as An exact match
- Conditions
-
Actions
- Set tempUnit = Paladin 0001 <gen>
- Custom script: call IssueImmediateOrderById (udg_tempUnit, 852608)
-
Events
Last edited: