OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: frag on 29 Sep 2002, 04:52:14

Title: simple waypoint question
Post by: frag on 29 Sep 2002, 04:52:14
Hi guys,

After some unsuccessfull research here is my simple question:

My soldier have a waypoint 1 (of type MOVE) displaying the message "Go there".

At this waypoint a combat occur and I activate the second waypoint as soon as the enemy is dead (I place in condition field of Waypoint 2 "not alive enemy1".

Between the time I reach the wp1 and that I activate the wp2 I always see the message "WAIT FOR OTHERS". How can I get rid of it...

Briefly I want:

- See the message of WP1 "go there"
-The message disapear as soon as I reach WP1
- As soon as I kill the enemy, my message for the WP2 appear.


Thanks in advance!



Title: Re:simple waypoint question
Post by: Wolfrug on 29 Sep 2002, 12:43:12
Heh, well that's rather strange. Usually that message appears when you've synchronized two waypoints with one another; i.e a Get In and a Load, two Move waypoints or somesuch. It'll disappear as soon as both waypoints are reached & the next one starts.

Possibly, this also works when there's something else stopping you from moving onwards, i.e the death of enemies (waiting for the enemy to die...).

As to getting rid of it, hm, I'm not sure. This is just a suggestion (OFP is not available to me right now), but try putting the wp condition into a trigger(a/b=0, type: switch, condition: not alive enemy1) instead, and synchronizing (F5, drag the line between the wp and the trigger) them with one another.

Might remove the message, and will work in the same way. Try it! Let us know if it doesn't work...

Wolfrug out.
Title: Re:simple waypoint question
Post by: LCD on 29 Sep 2002, 13:44:30
@ wolfrug - ur way wont work he wil stil get da wait 4 oders

dereis only 1 way 2 do dis - u wil need 2 create da oder wps wen da enemy is dead (it wil work only wid move wps)

make a trig

Triger
condition : not alive unitname
activision : unitname move getpos G-spotname

LCD OUT
Title: Re:simple waypoint question
Post by: Mike on 30 Sep 2002, 09:55:08
Couldn't u put the following in the on activation of the waypoint u want them to clear area:

group lockwp true

Then make a trigger with condition "!alive AIguy1 && !alive AIguy2" - Or make it "east" "not present" and condition "this"

The on activation:

group lockwp false

Though im not sure if it tells you to "WAIT FOR OTHERS" or not. I think it should work the way u want..
Title: Re:simple waypoint question
Post by: Sefe on 01 Oct 2002, 11:39:47
This is how you get rid of the "WAIT FOR OTHERS" message:

1. Create a trigger and set it's type to "Switch". Set it's condition field to not alive enemy1
2. Press F5 and synchronize the trigger with WP2.
3. Set the waypoint type to "HOLD".