|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Convoy Control
Often control of convoys can be complex and event consuming, especially when you want the player to be able to get on and off the vehicles.
Methods using the event editor usually include using lots of 3D area triggers and event conditions. If you're building a mission using custom files then a simple wac script can help reduce of lot that work. This script will stop and start a vehicle by detecting the player. The the vehicle is ssn 1 and meride denotes when the player is on top of the vehicle. ssncspd = Combat Speed ssnpspd = Patrol Speed Set your vehicle to a waypoint, in this case I use a Friendly 5 Ton Truck (F5tonD) then add this script to the WAC Code:
if meride(1) then ssncspd(1, 30) ssnpspd(1, 30) else ssncspd(1, 0) ssnpspd(1, 0) endif Last edited by Guest001; 03-23-2019 at 01:29 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|