San-D
New Member
- Reaction score
- 15
My question is the folowing - can I create a special effect on the terrain with 'z' offset?
You can also use this if you don't feel like creating lots (?) of units:no, use dummys which have a specific flying height
function AddSpecialEffectZ takes string path, real x, real y, real z returns effect
local destructable d = CreateDestructableZ( 039;OTip039;, x, y, z, 0.00, 1, 0 )
set bj_lastCreatedEffect = AddSpecialEffect( path, x, y )
call RemoveDestructable( d )
set d = null
return bj_lastCreatedEffect
endfunction