Thanks everyone, just one other thing
[edit] I just wanted to change up the wording [/edit]
What is wrong with this cog?
# Jedi Knight Cog Script
#
# ITEM_FIELDLIGHT.COG
#
# KaoKen
# Made by DBSS_Iceman
# Need cogs? Talk to me. My ICQ is 82388606
symbols
thing player
template projectile=+ssparks_blood
template projectile2=+ssparks_blood
template projectile3=+ssparks_blood
message activated
message deactivated
message pulse
int mode
end
# ========================================================================================
code
activated:
SetPulse(.01);
Return;
# ........................................................................................
pulse:
player = GetSourceRef();
FireProjectile(player, projectile);
FireProjectile(player, projectile2);
FireProjectile(player, projectile3);
ClearPhysicsFlags(player, 0x1);
SetPhysicsFlags(player, 0x2000);
SetInvActivated(player, 22, 1);
SetActorExtraSpeed(player, 99.9);
ChangeInv(player, 11, -0.0);
GetThingHealth(player);
SetThingHealth(player, 0);
If(BitTest(actorFlags, 4));
{
ClearPhysicsFlags(player, 0x2000);
SetPhysicsFlags(player, 0x1);
SetInvActivated(player, 22, 0);
SetActorExtraSpeed(player, 0.0);
player = GetSourceRef();
mode = GetSenderRef();
DeactivatedWeapon( player, mode );
Return;
}
# ========================================================================================
end
[This message has been edited by DBSS_Iceman (edited March 05, 2001).]