I feel like an idiot having to ask this, but I'm new to WEing and I can't figure out why I can't properly import spells.
Whenever I try to import any spells, I get a "Expected a name/variable name" error, specifically about this:
How do I get the trigger to work? I copied everything down to the individual variables.
Whenever I try to import any spells, I get a "Expected a name/variable name" error, specifically about this:
- set udg_x = GetUnitX(udg_u)
- set udg_y = GetUnitY(udg_u)
- call MoveLocation(udg_zLoc, udg_x, udg_y)
- // Check if the unit is alive, not on ground or removed
-
if ( Trig_LightningLevitationLoop_Copy_2_Func004Func008C() ) then
- // Save radius in a non-array variable
- set udg_r = udg_LL_Target_Data[( ( udg_i * 10 ) + 9 )]
- // Get terrain height at the position of the unit
- set udg_r2 = GetLocationZ(udg_zLoc)
- // Check if unit has to fly up or fall down
How do I get the trigger to work? I copied everything down to the individual variables.
Last edited: