this just doesn't work, something is wrong with this cog, but i don't know what...
Right, it's Client cog for weapon #3 (stormy rifle)
------------------
The death is smiling to all of us,
All what we can do, is smile back.
--
Also, visit my homepage, the Cave
[This message has been edited by Cave_Demon (edited April 01, 2001).]
Right, it's Client cog for weapon #3 (stormy rifle)
Code:
# Jedi Knight Cog Script
#
# Client_strifle.COG
#
# Description
#
#
# This Cog is Not supported by LucasArts Entertainment Co
# This flag makes the cog act locally, no broadcasting, less lag.
flags=0x404
symbols
flex autoAimFOV=0 local
flex autoAimMaxDist=0 local
template projectile=+lasama local
message trigger
end
# ========================================================================================
code
trigger:
if( (GetSourceRef() == 40) || (GetSourceRef() == 41) )
{
FireProjectile(GetParam(0), projectile, -1, -1, '0.0135 0.1624 0.0', '0 0 0', 1, 0x20, autoAimFOV, autoAimFOV*2);
FireProjectile(GetParam(0), projectile, -1, -1, '-0.0135 0.1624 0.0', '0 0 0', 1, 0x20, autoAimFOV, autoAimFOV*2);
}
return;
end------------------
The death is smiling to all of us,
All what we can do, is smile back.
--
Also, visit my homepage, the Cave
[This message has been edited by Cave_Demon (edited April 01, 2001).]
WHAT?