P
Psybot
Guest
so im kinda new to WE mapping. i just wanna ask you guys how to create an AoE polymorph spell ?
its kinda getting me confused
thanks !
its kinda getting me confused
thanks !
Events - Unit begins the effect of an ability.
Conditions - Ability being casts is equal to <aoe ability>
Events - Pick every unit in <AOE of Spell> matching <condition(e.g. enemy of owned of casting unit)>
Order <dummyunit> to Human Archmage - Polymorph on Picked Unit.
Agent Paper said:Hero max is changed in advanced - gameplay constants max is 10,000
Events:
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to <AOE Polymorph spell>
Actions
Unit Group - Pick every unit in (Units within <AOE of spell> of (Target point of ability being cast) matching (((Owner of (Matching unit)) is an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) is Mechanical) Equal to False
((Picked unit) is An Ancient) Equal to False
<More conditions>
Then - Actions
Unit - Create 1 <Dummy unit with Polymorph> for (Owner of (Casting unit)) at (Position of (Picked unit)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Human Sorceress - Polymorph (Picked unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Else - Actions
Do nothing