• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Hero ability to create a contamination?

Status
Not open for further replies.

Xeridian

X

Xeridian

Hi,

I tried different things so far, but nothing worked.
Fast explained: I want a hero ability, which can contaminate the ground, just like the item "sacrificial skull".
 
Here you go :)
Follow the instructions I put in this map.
Just import the ability ''Contamnation'' and the trigger folder called ''Copy this folder into your map''.
Also remember to go into File/preferences and check the box ''Automaticallly create uknown variables while pasting trigger data'' before importing the trigger.
 

Attachments

Trigger it;
  • Contaminate
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Contaminate
  • Actions
    • Set Point1 = (Target point of ability being cast)
    • Environment - Change terrain type at Point1 to Felwood - Poison using variation -1 in an area of size 4 and shape Circle
    • Custom script: call RemoveLocation (udg_Point1)
References:
https://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/variables-5896/
https://www.hiveworkshop.com/forums/triggers-scripts-269/things-leak-35124/

Edit: Oops, kinda late.
 
Status
Not open for further replies.
Back
Top