OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pazuzu on 29 Jun 2004, 05:16:24
-
Hi, has anyone here used Bullmarket's Tracking Script?
I'm making a map & I want to end the mission by being chased by enemy.
The Idea is we get to extraction boat & enemy is triggered to track our boat.
I can get 1 enemy boat to chase me but I want a group of 5 enemy boats to track my boat.
So I grouped the 5 boats & they all chase untill boat #1 is destroyed.
Then I tried doing the bossgroup=groupthis
But I cant get them all to chase me.
Any idea what I'm doing wrong?
Or is there a better tracking script out there?
Thanks
-
Hi,
I don't know what you're talking about, but the little I do know is that bossgroup = groupthis should be bossgroup = group this
-
1) Have a group "move" waypoint with a boolean condition, eg tx_Chasenow
when you want the chase to start, have the boolean = true and setpos the waypoint to the boat you want chasing
loop the setWPpos command in a script every couple of seconds or so
eg
#START
~2
? (tx_Chasenow): goto "SKIP"
goto "START"
#SKIP
[Groupname,0] setWPpos (getpos escapee_vehicle_name)
~2
goto "SKIP"
setpos a group waypoint to the boat you want them to chase, loop this every second or so