Got this cog, it changes the gravty level in erm... a level by activating a switch in sp, now the problem is, i want it for multiplayer, so i put it in, but when you use it, only the gravity is changed for the host, and i want it to change for all players, can anyone point out the the changes i need to make?
here is the cog:
------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: HERE
here is the cog:
Code:
# Jedi Knight Cog Script # # 00_gravswitch.cog # # This COG will change the gravity of the entire level when activated. # Has three settings: low, medium, high, and off. Each activation changes the # setting. Low gravity makes multiplayer games very...interesting. # Make the switch a thing - one of those consoles would be nice. # Also plays a sound when used. :-) # # # This file is not supported by LucasArts Entertainment Company # Scripted 1998 by Zero. flags=0x100 symbols message activated flex number1 local thing console sound gravalarm end # ======================================================================================== code activated: number1 = GetGravity(); PlaySoundGlobal(gravalarm, 1.0, 0.0, 0x10000); if(number1 == 0) { print("Station Gravity Level At: 1.0 *Normal*"); SetGravity(4.0); number1 == 4; return; } if(number1 == 4) { print("Station Gravity Level At: 7.0 *Caution Recomended*"); SetGravity(7.0); number1 == 7; return; } if(number1 == 7) { print("Station Gravity Level At: 1.0 Low *Some Caution Recomended*"); SetGravity(1.0); number1 == 1; return; } if(number1 == 1) { print("***WARNING STATION GRAVITY SYSTEMS OFFLINE: If You Jump... You Will Not Come Down***"); SetGravity(0.0); number1 == 0; return; } return; end
------------------
Generating Electro Vibes™ for the masses on Massassi
Go To: HERE
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!