i want to be the tie fighter
can anyone help me?
Topic starter
Posted : 10/07/2006 7:08 am
Save as item_bacta.cog and you know what to do from there. π
# Jedi Knight Cog Script
#
# ITEM_BACTA.COG
#
# ========================================================================================
symbols
sound bactaSnd=BactaUse01.WAV
thing player
model morph=tieb.3do local
message activated
end
# ========================================================================================
code
activated:
player = GetSourceRef();
if(GetInv(player, 40) > 0.0)
{
if(GetHealth(player) > 100)
{
// Print("Using Bacta");
jkPrintUNIString(player, 250);
PlaySoundThing(bactaSnd, player, 1.0, -1, -1, 128);
SetThingModel(player, morph);
ChangeInv(player, 40, -1.0);
if(GetInv(player, 40) == 0) SetInvAvailable(player, 40, 0);
}
}
Return;
end
ReT
ruthless deeds return to harass their architect
Posted : 14/07/2006 3:55 pm
its not working =(
i put it in notepad, saved it as item_bacta.cog in the cog folder (and made it so its a cog file not a txt) and now when i go into jk, i press the bacta button and nothing happens -- i can't even use the real bacta
im pretty sure im doing everything right..
Topic starter
Posted : 16/07/2006 5:00 am
