I need to know how to make a cog what when you activate a thing, it plays a sound and makes your player play a keys file. Make any sence?
Brian is not a god...or a punk.
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.
# Jedi Knight Cog Script # # WEAP_SABER.COG # # Created By *_Seifer_* # # (C) 1997 LucasArts Entertainment Co. All Rights Reserved # ======================================================================================== symbols message activated keyframe presskey=presskey.key local sound press=press.wav local thing player local end # ======================================================================================== code # ........................................................................................ activated: player=GetSourceRef(); PlayKey(player, presskey, 2, 0x38); PlaySoundThing(press, player, 1, -1, -1, 0x80); return; end