• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Trigger action does not work.

Status
Not open for further replies.
Level 8
Joined
Oct 21, 2017
Messages
53
c541fxdMx1w.jpg


This action does not work.
The trigger action to change the type of attack does not work, or maybe I'm doing something wrong?
I tried to put different indexes and values, No reaction.

What should I do? Do you have any ideas?

I'm a little upset that this does not work, because I hoped that I would not have to create several copies of a unit with different types of attacks.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Query bj_lastInstObjFuncSuccessful if the action was successful.

There should be a GUI boolean function for this...
JASS:
function BlzIsLastInstanceObjectFunctionSuccessful takes nothing returns boolean
    return bj_lastInstObjFuncSuccessful
endfunction
Some fields cannot be modified. If the action was not successful then it is very likely the field cannot be modified.
 
Status
Not open for further replies.
Top