Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → why?
why?
2001-02-21, 5:28 PM #1
Quote:
<font face="Verdana, Arial" size="2">
# Jedi Knight Cog Script
# [ABC]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved


symbols

thing player local

surface switch desc=Switch

message activated

end

# ========================================================================================

code

activated:
player = GetSourceRef();

# set to bin 20 to 2 indicating det man class

SetInv(player, 20, 2);

# reset force and weapons and ammo to 0
SetInv(player, 1, 1);
SetInv(player, 2, 0);
SetInv(player, 3, 1);
SetInv(player, 4, 3);
SetInv(player, 5, 0);
SetInv(player, 6, 0);
SetInv(player, 7, 1);
SetInv(player, 8, 10);
SetInv(player, 9, 0);
SetInv(player, 10, 0);
SetInv(player, 11, 250);
SetInv(player, 12, 0);
SetInv(player, 15, 20);

SetInvAvailable(player, 1, 1);
SetInvAvailable(player, 2, 0);
SetInvAvailable(player, 3, 1);
SetInvAvailable(player, 4, 1);
SetInvAvailable(player, 5, 0);
SetInvAvailable(player, 6, 0);
SetInvAvailable(player, 7, 1);
SetInvAvailable(player, 8, 1);
SetInvAvailable(player, 9, 0);
SetInvAvailable(player, 10, 0);
SelectWeapon(player, 7);
# set up force jump
SetInv(player, 21, 0);
SetInvAvailable(player, 21, 0);
# set up force run
SetInv(player, 22, 0);
SetInvAvailable(player, 22, 0);
# set up Grip or Persuasion
SetInv(player, 31, 0);
SetInvAvailable(player, 31, 0);
SetInv(player, 26, 0);
SetInvAvailable(player, 26, 0);

SetInv(player, 60, 175);
Return;
end
</font>


when I tried that mp it only effected the host and non of the other players.. why?
2001-02-22, 2:46 AM #2
Try adding "flags=0x240" to the top of your cog.
2001-02-22, 9:40 AM #3
right, will try it, ta.

↑ Up to the top!