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