- Joined
- Aug 15, 2012
- Messages
- 318
I have been working on my rpg and since my save/loads acting up thought id work on spells well I made this it seems to work on other maps just not mine..
Had it tested in a blank map with just peons and hero using skill worked fine in my rpg I get 3 errors...
call RemoveLocation(udg_loc) : invalid argument type (handle)
call DestroyGroup(udg_group) : invalid argument type (handle)
//=========================================================================== : expectted a code statement (handle)
Had it tested in a blank map with just peons and hero using skill worked fine in my rpg I get 3 errors...
call RemoveLocation(udg_loc) : invalid argument type (handle)
call DestroyGroup(udg_group) : invalid argument type (handle)
//=========================================================================== : expectted a code statement (handle)
-
Cast
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Thunder Clap
-
Actions
- Set loc = (Position of (Triggering unit))
- Set group = (Units within 300.00 of loc matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is A ground unit) Equal to True) and (((Matching unit) is alive) Equal to True))))
- Set RealDmg = (Real((Strength of (Triggering unit) (Include bonuses))))
- Environment - Create a 1.00 second Normal ripple deformation at loc with starting radius 1024.00, ending radius 1024.00, and depth 64.00, using 1.00 second ripples spaced 512.00 apart
- Environment - Create a 1.00 second wave deformation from loc to loc with radius 256.00, depth 96.00, and a 0.03 second trailing delay
-
Unit Group - Pick every unit in group and do (Actions)
-
Loop - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing (100.00 + RealDmg) damage of attack type Spells and damage type Normal
-
Loop - Actions
- Custom script: call RemoveLocation(udg_loc)
- Custom script: call DestroyGroup(udg_group)
-
Events
Last edited: