Help:Transformation Blunders

LordChicken

New Member
Reaction score
0
:thdown:im trying to make it so at 100 seconds in the game 1 of the villagers gets the power to change into selected monster

(red uses diolog box to pick witch monster at start)

the ability im useing is bear form but... i can change into the monster and hange back but when i change back i dont have the bility to change agian!:banghead:

please help in eny way you can

thank you
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
i guess you add the ability to your villager via a trigger. (add ability to unit)
when you now transform into an other unit using the bear form and transform back your villager is not the initial villager anymore, (like it has been replaced) and so it hasn't got the ability anymore.
Instead of adding the ability via trigger give the ability to your villager at start, then Disable it for all players and Enable it for the selected player again when you want your villager to be able to use it.
 

Trithilon-V2

New Member
Reaction score
20
Ahh....just make sure you add a custom script like this...
JASS:
call UnitMakeAbilityPermanent(GetTriggerUnit(),true,'A000')

That wil make the ability permanent and the unit wont lose it even after transformation.
You can disable that using
JASS:
call UnitMakeAbilityPermanent(GetTriggerUnit(),false,'A000')

Also make sure the ability code you enter is correct for your ability.
You can find it by going to the ability in the object editor and pressing "CTRL+D"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top