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-Unofficial-.../Export_Code/gml_Object_oBeam_Collision_...

41 lines
939 B

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