Is this script correct?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
chrisjbooth2001
Colour Sergeant
Posts: 77
Joined: Thu Dec 18, 2003 12:57 am

Is this script correct?

Post by chrisjbooth2001 »

Would this script work?

Code: Select all

//---------------
axis_switch:
//---------------

	if((parm.other trigger $trigger_use) && (parm.other.dmteam == "axis"))
	{
	waitthread left_door1
	}
	end
I also have this in the main: thread (along with alot of other crap)

Code: Select all

//---------------
main:
//---------------

	thread axis_switch
In the trigger use, I have a targetname of trigger_use.

I want to do it entirely through script :D
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

you'd only need
if (parm.other.dmteam == "axis")

parm.other is already the triggerer
hope this helps, prob not cos it's all foreign 2 me :-/
chrisjbooth2001
Colour Sergeant
Posts: 77
Joined: Thu Dec 18, 2003 12:57 am

Post by chrisjbooth2001 »

already sorted this

Thanks anyways
Post Reply