• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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:
 
Level 7
Joined
Aug 31, 2008
Messages
85
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:
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
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
 
Level 7
Joined
Oct 14, 2008
Messages
340
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.
Top