Share:
Notifications
Clear all

i want to be the tie fighter

(@dsbr_interloper)
Eminent Member

i want to be the tie fighter

can anyone help me?

Quote
Topic starter Posted : 10/07/2006 7:08 am
(@eah_xxheretikxx)
Noble Member

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

ReplyQuote
Posted : 14/07/2006 3:55 pm
(@dsbr_interloper)
Eminent Member

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..

ReplyQuote
Topic starter Posted : 16/07/2006 5:00 am
Share:

I Here’s your ThrowbackΒ