• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Trigger action does not work.

Status
Not open for further replies.
Level 8
Joined
Oct 21, 2017
Messages
47
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,198
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