Ok, i have this cog, which whould work a parachute, but when i activate it in-game, it does nothing! Could someone loook over it an tell me if i've made any mistakes?
------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: EL3CTROPROSE or DEEPMATRIX or The 10th Kingdom
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
Code:
# Jedi Knight Cog Script # # item_chute.cog # # This is a parachute item. # When activated, it will slow the player's falling rate, and open up a parachute. # # # [E3 - 18/06/2001] # symbols model chute=chute.3do Sound chuteopen=chuteopen.wav Sound chuteclose=chuteclose.wav thing player local message activated message deactivated message killed message pulse message selected end # ======================================================================================== code activated: SetPulse(0.5); AttachThingToThing(chute, player); Return; # .................................. deactivated: DetachThing(chute); DestroyThing(chute); SetPulse(0); Return; # ................................... killed: DetachThing(chute); DestroyThing(chute); SetPulse(0); Return; # ................................... pulse: ApplyForce(player,VectorSet(0.0, 0.0, 50.0)); Return; # ................................... selected: jkPrintUNIString(player, 271); Return; # ........................................................................................ end
------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: EL3CTROPROSE or DEEPMATRIX or The 10th Kingdom
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
Generating Electro Vibes™ for the masses on Massassi
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!
Go To: BiTsToRm Forums or L3CY's Topsites
Boba Jules: You ever read the bible TK-421?
TK-421: No?
Boba Jules: Oh, ok...
*BLAM BLAM BLAM BLAM*
<EL3CTRO> EXCAUSE ME MISTAR CAERV BUT I LIEK MY PHORUMPHS!