Page 1 of 1

Is this script correct?

Posted: Wed May 19, 2004 9:59 pm
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

Posted: Thu May 20, 2004 1:03 am
by nuggets
you'd only need
if (parm.other.dmteam == "axis")

parm.other is already the triggerer

Posted: Thu May 20, 2004 1:59 am
by chrisjbooth2001
already sorted this

Thanks anyways