You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-Multitroid-Fair-Team-PVP/Export_Code/gml_Object_oBeam_Collision_...

46 lines
1.1 KiB

if (sax != other.sax && (!other.spectator))
{
global.showHealthIndicatorsTimer = 900
if pbeam
{
event_user(0)
global.attackID = global.clientID
global.checkID = other.myid
global.checkX = other.x
global.checkY = other.y
global.checkBeam = 1
global.checkMissile = 0
global.checkDamage = damage
global.checkFreeze = 0
global.checkDir = direction
if ibeam
global.checkFreeze = 1
if (myid == 0)
{
with (oClient)
event_user(3)
}
}
else
{
event_user(0)
global.attackID = global.clientID
global.checkID = other.myid
global.checkX = other.x
global.checkY = other.y
global.checkBeam = 1
global.checkMissile = 0
global.checkDamage = damage
global.checkFreeze = 0
global.checkDir = direction
if ibeam
global.checkFreeze = 1
if (myid == 0)
{
with (oClient)
event_user(3)
}
instance_destroy()
}
}