Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
SOLVED: setWaypointScript
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: SOLVED: setWaypointScript (Read 1635 times)
0 Members and 1 Guest are viewing this topic.
Carroll
Members
Mission Designer (MP-"well tryin to capiche"
SOLVED: setWaypointScript
«
on:
31 May 2007, 12:56:47 »
Hi i was wondering how to get a unit to complete a script before he moves onto next waypoint? At present he moves straight to next way point before script is complete. I do remember seeing a thread about setWaypointScript here somewhere but after an hour searching cant sem to find it?
any help would be greatful for,ty
«
Last Edit: 29 Jul 2007, 13:44:41 by Carroll
»
Logged
bardosy
Honoured Contributor
campaign designer
Re: setWaypointScript
«
Reply #1 on:
31 May 2007, 13:17:27 »
put a last line in the script:
Quote
variablename = true
And then overwrite the condition of the WP:
valiablename
Logged
Fix bayonet!
Carroll
Members
Mission Designer (MP-"well tryin to capiche"
Re: setWaypointScript
«
Reply #2 on:
31 May 2007, 14:34:49 »
Thanks bardosy, i've added the line you've recommended + added a ~1 second delay between each playMove.
Result has been relatively successful, though it will be good enough to look convincing, cheers.
Logged
Mr.Peanut
Former Staff
urp!
Re: setWaypointScript
«
Reply #3 on:
31 May 2007, 17:36:49 »
You can also add in a new waypoint in between the other two and make it type
Scripted
. A scripted WPs must complete before the group moves to the waypoint following it. Check out
this excellent thread
for details.
«
Last Edit: 31 May 2007, 17:38:21 by Mr.Peanut
»
Logged
urp!
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
SOLVED: setWaypointScript
Top of page