# Jedi Knight Cog Script
#
# turretai.cog
#
# When wirepanel is slashed, door1 moves
#
# The turrets became disabled.
#
#
# Edited by Lt_Greywolf
#
# [EM]
#
# (C) 2001 Wolfbrother Productions
symbols
message damaged
surface wirepanel mask=0xFFF
flex speed=1.5
thing door1
thing turret1
thing turret2
ai ai1=pednarsh.ai local
end
# ========================================================================================
code
damaged:
SetWallCel(wirepanel, 1);
Print("This COG is jack crap!");
MoveToFrame(door1, 1, speed);
AiSetClass(turret1, ai1);
AiSetClass(turret2, ai1);
return;
end
==========
The print thing was to debug the COG...it never appeared.
------------------
A crooked man walked down a crooked road to a crooked house.
Yeah, I didn't believe in reincarnation in my last life, either.
#
# turretai.cog
#
# When wirepanel is slashed, door1 moves
#
# The turrets became disabled.
#
#
# Edited by Lt_Greywolf
#
# [EM]
#
# (C) 2001 Wolfbrother Productions
symbols
message damaged
surface wirepanel mask=0xFFF
flex speed=1.5
thing door1
thing turret1
thing turret2
ai ai1=pednarsh.ai local
end
# ========================================================================================
code
damaged:
SetWallCel(wirepanel, 1);
Print("This COG is jack crap!");
MoveToFrame(door1, 1, speed);
AiSetClass(turret1, ai1);
AiSetClass(turret2, ai1);
return;
end
==========
The print thing was to debug the COG...it never appeared.
------------------
A crooked man walked down a crooked road to a crooked house.
Yeah, I didn't believe in reincarnation in my last life, either.
the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot - LC Tusken