Page 1 of 1

What is the triggers that make a villager transform to werew

Posted: Fri Nov 30, 2012 1:05 pm
by Liotyz
Help please, I want to create a map like Werewolf Transylvania and Wilderness Survival, but I want some triggers that make a villager transform to other model like werewolf randomly, can tell me the triggers? Please?

What is the triggers that make a villager transform to werew

Posted: Fri Nov 30, 2012 9:31 pm
by MetaDeath
Hello friend! :D

The function is like this:

Code: Select all

 Actions
    Save the unit you are replacing.

    Set Your_Unit = Your_Unit

    Unit - Replace (Your_Unit) with a Werewolf using The old unit's relative life and mana

    Save the werewolf so you can replace it with a human on day break.

Set Your_Werewolf = (Last replaced unit)


BTW, with the Set Your_Werewolf variable idk if it's Last replaced unit or last created unit, cause I never tried this.

Re: What is the triggers that make a villager transform to w

Posted: Tue Apr 21, 2015 7:20 am
by maddeem
I am a necromancer of old posts.

Unlikely replace was used; more than likely is the use of the function ShowUnit(unit,boolean)

Re: What is the triggers that make a villager transform to w

Posted: Fri Apr 24, 2015 2:26 am
by Jesse James
Indeed. Replace is buggy. The werewolf is moved and hidden during the day, the villager is moved and hidden during the night.