Name | Type | is_array | initial_value |
FTextEnd | texttag | No | |
IntATime | integer | Yes | |
IntBlood | integer | No | |
IntDevil | integer | No | |
IntMaxAmmo | integer | No | 7 |
IntSoT | integer | No | 0 |
IntSpawn | integer | Yes | |
IntSpawnSuper | integer | No | |
IntStepSound | integer | No | |
IntTeleport | integer | No | |
IntUp | integer | No | |
IntWisp | integer | No | |
IntZKills | integer | No | 7 |
ItemGreen | item | No | |
LightningSkull | lightning | Yes | |
LightningSummon | lightning | Yes | |
PointBandis | location | No | |
RealBulletSpeed | real | No | |
RealCameraFix | real | No | |
RealClap | real | No | |
RealFlankMissile | real | No | |
RealGunCooldown | real | No | |
RealHammerGuard | real | No | |
RealMovementAngle | real | No | |
RealSoT | real | Yes | |
RealTransperency | real | No | 100.00 |
SFXExclamation | effect | Yes | |
SFXSummon | effect | No | |
SFXVoodoo | effect | No | |
SoundForest | sound | No | |
SoundFrostMourne | sound | No | |
SoundGhost | sound | No | |
SoundMS | sound | No | |
SoundPain | sound | No | |
SoundRain | sound | No | |
SoundShoot | sound | No | |
SoundStep | sound | No | |
SoundThunder | sound | No | |
SoundTimmy | sound | No | |
TimerAMovement | timer | Yes | |
TimerBulletMove | timer | No | |
TimerFlankMissile | timer | No | |
TimerGunCooldown | timer | No | |
TimerHammerGuard | timer | Yes | |
TimerRocketBoost | timer | Yes | |
UGroupBullet | group | No | |
UGroupParty | group | No | |
UnitAcolyte | unit | Yes | |
UnitAHero | unit | No | |
UnitAmmunition | unit | No | |
UnitATank | unit | No | |
UnitDevil | unit | No | |
UnitEngineBooster | unit | Yes | |
UnitFlankMissile | unit | Yes | |
UnitGunCooldown | unit | No | |
UnitHammerGuard | unit | Yes | |
UnitSkull | unit | Yes | |
UnitTitanflames | unit | No | |
UnitWisp | unit | Yes | |
UTypeGun | unitcode | No | |
WeatherMain | weathereffect | No |
function Trig_Tank_Effect_Conditions takes nothing returns boolean
if ( not ( GetUnitCurrentOrder(udg_UnitATank) != String2OrderIdBJ("idle") ) ) then
return false
endif
return true
endfunction
function Trig_Tank_Effect_Actions takes nothing returns nothing
local effect x
call AddSpecialEffectLocBJ( GetUnitLoc(udg_UnitATank), "Objects\\Spawnmodels\\Undead\\ImpaleTargetDust\\ImpaleTargetDust.mdl" )
set x=GetLastCreatedEffectBJ()
call PolledWait(2)
call DestroyEffectBJ( x )
endfunction
//===========================================================================
function InitTrig_Tank_Effect1 takes nothing returns nothing
set gg_trg_Tank_Effect1 = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Tank_Effect1, 0.50 )
call TriggerAddCondition( gg_trg_Tank_Effect1, Condition( function Trig_Tank_Effect_Conditions ) )
call TriggerAddAction( gg_trg_Tank_Effect1, function Trig_Tank_Effect_Actions )
endfunction
function Trig_Locust_Death_Conditions takes nothing returns boolean
if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'u006' ) ) then
return false
endif
return true
endfunction
function Trig_Locust_Death_Actions takes nothing returns nothing
local unit x=GetTriggerUnit()
call PolledWait( 2.00 )
call RemoveUnit( x )
endfunction
//===========================================================================
function InitTrig_Locust_Death takes nothing returns nothing
set gg_trg_Locust_Death = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Locust_Death, EVENT_PLAYER_UNIT_DEATH )
call TriggerAddCondition( gg_trg_Locust_Death, Condition( function Trig_Locust_Death_Conditions ) )
call TriggerAddAction( gg_trg_Locust_Death, function Trig_Locust_Death_Actions )
endfunction