• 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.

[Trigger] MakeAbilityPermanent

Status
Not open for further replies.
Level 5
Joined
Dec 18, 2007
Messages
205
You actually just want to know, how it should be inserted?

custom script: call UnitMakeAbilityPermanent(whichUnit, boolean_permanent, integer_abilityId)

it returns a boolean.
 
Level 5
Joined
Dec 18, 2007
Messages
205
basically in GUi there are BJs functions to refer to the last created whatever. in this special case and usually always in JASS you cannot refer to the last created thing.
use local integer (array) for this.
 
Level 3
Joined
Mar 25, 2009
Messages
32
For an example:
  • Custom script: Call UnitMakeAbilityPermanent( udg_caster, true, 'A000' )
 
Status
Not open for further replies.
Top