Need Help with transforming hero and Vamp trigger

Status
Not open for further replies.
Level 2
Joined
Oct 12, 2008
Messages
12
I do not know how to make trigger that when used will ultimately change a hero. Such as transforming into a werewolf or vampire.

Also i was wondering if someone has a trigger that when vampires when in day light Burn and die. Also werewolves transform at day and night.

I am working on a halloween map.

Thanks :thumbs_up:
 
dont know how to do the second one but for the form one lets start from using bear/storm crow form ability

Heres a trigger i just came up with:

Event- Unit Starts Casting Ability

Condition: Ability Being Cast Equal to [Your Ability]

Action:
[Unit] Replace [Casting Unit] for [Unit You want] with old Units [Max] Health and mana.

To switch back:
same thing but the original unit



This is just what came to my mind you can try it but i didnt test it :con:
 
The first can be done with the 'Unit - Replace' command it you want a complete new hero. (LikeAni123 said)

The vampire/werewolf thing is easy.
  • Werewolf
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • Unit - Replace UNIT with a WEREWOLF using The old unit's relative life and mana
  • Werewolf 2
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Unit - Replace WEREWOLF with a UNIT using The old unit's relative life and mana
  • Vampire Mode
    • Events
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • Set VampireMode = True
  • Vampire Mode 2
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Set VampireMode = False
  • Vampire
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • VampireMode Equal to True
    • Actions
      • Unit - Cause VAMPIRE to damage VAMPIRE, dealing x damage of attack type ANYTHING and damage type ANYTHING
      • -------- OR --------
      • Unit - Kill VAMPIRE
 
then change the damage vampire action to an if/then/else statement..
the "if" being terrain type at the position of the vampire not equal to blight.. then kill em, else do nothing
 
Status
Not open for further replies.
Back
Top