PDA

View Full Version : how do i make units move to wp



Rob
Nov 15 2001, 19:19
i really need to know if this is pos cuz i can't make my mission without it.

barret
Nov 15 2001, 19:21
when i add cit screens my ai's keep on goin tword their waypoints, are you makin your waypoints near the cut scene?

Rob
Nov 15 2001, 19:29
wot do u mean is the wp near my cutscene. theres no cutscene in the game.... al it is, is a trigger activating it....


all i asked for was is there a way to make my team leader move to the next wp after my cutscenes finished.
if he moves to the next wp then that will totally mess up hours of work trying to get the cutscene finished.

dostop unitname doesn't help me either.

Chris Death
Nov 15 2001, 21:27
create a waypoint directly on you leader
in the condition field of the waypoint enter
e.g: cutfinish
in your cutscene.sqs, enter as last command, before
cutfinish=true
if this doesn't work, type true instead of cutfinish
to your waypoint's init field, and place a trigger
with the condition cutfinish, press "F5" and drag a
line from trigger to waypoint - maybe both ways
are working well - i can't try it out right now, cause
i'm at work.

Rob
Nov 15 2001, 21:47
sounds confusing but thx i will try it and i hope it works.

Chris Death
Nov 15 2001, 22:20
in your cutscene.sqs, enter as last command, before
cutfinish=true
------------------------------------------------------------------
forget the word "before" - it was misplaced there
just enter: cutfinish=true

sorry

Rob
Nov 15 2001, 23:26
i need to send u it to have a look at. i got it working but he stars off goin onto the nxt wp but stops and comes back to where he started like a d*amn chicken and i have already use the no fleeing command..........

hhmmmm if only i had chris' e-mail address....

Chris Death
Nov 15 2001, 23:51
i think i know what's your prob
the waypoint with the cutfinish condition
isn't the first waypoint for your unit,
more it's the last - right?
so let me explain you:
first u need a the leader, then you give him
his first waypoint (this is the one where you
put in the condition). The group would move
now to this waypoint and there it would wait
for the condition. So when you want to have
the group standing there at the beginning,
just place the first waypoint onto the leader
unit.

All together again - your unit (or group) moves
to the waypoint (with the condition "cutfinish")
and waits there untill you change the variable
cutfinish to true (what you do at end of the cutscene)

Sorry if this is a bit confusing (i always have to
translate my words from my german language
into english)

Chris Death
Nov 15 2001, 23:54
it wouldn't help you to know my email
i think, because i'm at work and can't
use OFP there :-(

Rob
Nov 16 2001, 00:02
well if your german your rather good at english.....

do you know most of the freehand language like...
instead of "you" i say "u" and stuff like that

wot i did was made a trig and synced it with the first and second wp. this made the units stay but when the cutfinish was true they fired but then the main units carried on fighting but just the grp leader fleed....

it's like 1 in the morning now so i will try it out tomoz.... thx for the help mate.

Chris Death
Nov 16 2001, 00:09
Well i'm from Austria (not from Germany)
hehe - u, b4, l8erz, w8 4 me and
so on.
Yeah i know them, but i try 2 avoide
using them 2 don't make this more
confusing than it is

(Edited by DV Chris Death at 3:10 am on Nov. 16, 2001)

Space Cadet
Nov 16 2001, 08:26
Have you tried the "STOP" or the "LOCKWP" commands?

unitname STOP True - forces a unit to stop whatever its doing.
unitname STOP False - tells the unit to continue what is was doing.

unitname LOCKWP True - blocks the unit from moving to its next waypoint
unitname LOCKWP False - enables the units next waypoint again.