I haven't found anything with "search" for a trigger_use...
this is my problem: I've made a map with a trigger_use (targetname:hurtytrig)
and a platform which moves(targetname:hurtymove) and an elevator(targetname:hurtylift)...
my scripting:
but my trigger_use doesn't work...main()
{
thread hurty();
}
hurty()
{
hurtylift = getent ("hurtylift","targetname");
hurtymove = getent ("hurtymove","targetname");
trigger = getent ("hurtytrig","targetname");
while(1)
{
trigger waittill ("trigger");
hurtymove moveZ (-16,2,0.5,0.5);
hurtymove waittill ("movedone");
hurtymove moveX (-64,2,0.5,0.5);
hurtymove waittill ("movedone");
hurtylift moveZ (167,5,0.5,0.5);
hurtylift waittill ("movedone");
wait (3);
hurtylift moveZ (-167,5,0.5,0.5);
hurtylift waittill ("movedone");
hurtymove moveX (64,2,0.5,0.5);
hurtymove waittill ("movedone");
hurtymove moveZ (16,2,0.5,0.5);
hurtymove waittill ("movedone");
}
}
Can anyone help me with it?