Home   Help Search Login Register  

Author Topic: Trigger waypoint!  (Read 590 times)

0 Members and 1 Guest are viewing this topic.

sith

  • Guest
Trigger waypoint!
« on: 02 Dec 2003, 21:49:27 »
hey, i still have a problem with triggers and waypoint! The problem is:

I have a truck that have one way point. Then i have a trigger that i want to control the activation of the waypoint. In general, i want the trigger to activate the waypoint when i activate the trigger. however, in the On activation in the trigger i have wrote this:trigger1=true. And in the waypoint Condition:tigger1

It does't work. It work when i have two triggers insted of one trigger and one waypoint. It even doesn't work if i sync. the trigger and the waypoint..
Any ides?? plzz   thanks/SIMON

deaddog

  • Guest
Re:Trigger waypoint!
« Reply #1 on: 02 Dec 2003, 22:07:12 »
did you set trigger1=false in the init.sqs file first?

Offline Blanco

  • Former Staff
  • ****
Re:Trigger waypoint!
« Reply #2 on: 02 Dec 2003, 22:12:46 »
it's trigger in the condition of the waypoint , a typo

Otherwise you need a condition for the trigger, a trigger without a condition can't work.
I guess there's a this in the condition of your trigger...

If so, you have to choose an activation WEST/EAST - present/not present...





 
Search or search or search before you ask.

MadFred

  • Guest
Re:Trigger waypoint!
« Reply #3 on: 03 Dec 2003, 06:06:57 »
if I get the point then you want the truck to move to a waypoint after a trigger is... well... triggered  :)

you need two triggers andtwo waypoints to do it.

the first waypoint is close or at the trucks starting position.
the second one is where you want him to go after the condition is set true.

okay suppose the first trigger is set to go off when west present.

so have activation"WEST", "PRESENT"

condition: THIS

on activation: movetruck=true

then have a second trigger with condition movetruck.

synchronize this trigger with the trucks FIRST waypoint.

the truck will hold at his first waypoint, waiting for the condition to be set true.
when it is, he will move along to the second.

synching a trigger to a WP only works for the NEXT  waypoint.

at least that's what I think, I always use it like this and it works for me, hope it does the job for you aswell

MadFred


gundernak

  • Guest
Re:Trigger waypoint!
« Reply #4 on: 03 Dec 2003, 11:21:46 »
If the truck is not playable and not in your group...therefore you do not get any information about it..

Use setFuel in the truck's init field: this setFuel 0
It is sure the truck will not move...until you restore the truck's fuel level

So..in your trigger on activation field type: truckname setFuel 1

at that moment the truck will move to its 1st waypoint

sith

  • Guest
Re:Trigger waypoint!
« Reply #5 on: 03 Dec 2003, 18:42:03 »
THANKS!