Terran4999 0 Posted May 21, 2008 Hey I am stumped as to how I can radio a unit to move and stop like in those escort mission in the campaign?? I tried making 2 radio trigger 1 with "sold lockWP true" the other with "sold lockWP false" but nothing happened. Any ideas? Share this post Link to post Share on other sites
sfc.itzhak 0 Posted May 22, 2008 HeyI am stumped as to how I can radio a unit to move and stop like in those escort mission in the campaign?? I tried making 2 radio trigger 1 with "sold lockWP true" the other with "sold lockWP false" but nothing happened. Any ideas? if you mean you wrote in the trigger "sold lockWP true" you need to add the "=" so soldlockwp=true. Share this post Link to post Share on other sites
Terran4999 0 Posted May 22, 2008 Well the "soldlockWP=true/false" didn't work any other commands that would make a unit move and stop at command?? Â Share this post Link to post Share on other sites
Pulverizer 1 Posted May 22, 2008 lockWP will make the unit continue to its current WP but not switch to the next one when it arrives until the lockWP is set back to false. It will not make the unit start/stop moving immediately. Share this post Link to post Share on other sites
Terran4999 0 Posted May 22, 2008 OK So I created 2 units that's group together and I put in the leader Initialization "sold=group this" I made 2 Radio activated trigger 1 with: "soldlockWP=true" the other with "soldlockWP=false" If this is what I am suppose to do it didn't work. The units just kept proceeding to their WP's Share this post Link to post Share on other sites
nikiller 18 Posted May 23, 2008 hi, I think i have an easy solution for ur porblem with a little command named "stop". short explaination of the "stop" command: Operand types: unit: Object stop: Boolean Type of returned value: Nothing Description: Stop AI unit. Used In: OFP/ArmA Example: truck1 stop true How to use stop command in ur mission: 1-Ur convoy needs to be a group (truck1,jeep1,hummer1) where truck1 is leader of the convoy. (in this example) 2-Define the waypoints of the convoy (i suggest formation column and careless behaviour) 3-In the leader's (truck1) init field write exactly this line: convoy = group this; convoy allowfleeing 0 4-In one trigger (size 0, radio Alpha, repeatidly, condition this) write exactly this line in activation field: (vehicle leader convoy) stop true NB: I use (vehicle leader convoy) and not the name of the leader (truck1) because if "truck 1" was killed the stop true command will don't work and the convoy will never stop. With (vehicle leader convoy) u're sure that stop command will be always given to the leader of the convoy. Don't forget to write in text field of the radio trigger: convoy stop It means: if convoy leader recieve command "stop true" it'll directly stop and the others members of his group will do the same thing. 5-In one other trigger (size 0, radio Bravo, repeatidly, condition this) write exactly this line in activation field: (vehicle leader convoy) stop false NB: I use (vehicle leader convoy) and not the name of the leader (truck1) because if "truck 1" was killed the stop false command will don't work and the convoy will never advance. With (vehicle leader convoy) u're sure that stop command will be always given to the leader of the convoy. Don't forget to write in text field of the radio trigger: convoy advance It means: if convoy leader recieve command "stop false" it'll advance, folow his waypoints and the others members of his group will do the same thing. 6-conclusion: Now u can stop the convoy where u want. Radio Alpha will stop directly the convoy and with radio Bravo, the convoy will advance and folow their waypoints. I hope it'll help u a bit. Cu. Nikiller. Share this post Link to post Share on other sites
Pulverizer 1 Posted May 23, 2008 I made 2 Radio activated trigger 1 with:"soldlockWP=true" No, see http://community.bistudio.com/wiki/lockWP The correct syntax would be sold lockWP true Share this post Link to post Share on other sites
nikiller 18 Posted May 23, 2008 hi, lockwp command doesn't work in this case because the unit must be exactly to his waypoint to stop. I think he wants that the convoy stop when he wants. With the lockwp command the convoy'll don't stop and continu to the next waypoint. But it's just my opinion i can be wrong. If u folow my method with stop true/false command it work reliably. cu. nikiller. Share this post Link to post Share on other sites