Go Back   Novahq.net Forum > Games > Delta Force

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-23-2019, 12:57 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:24 AM.




Powered by vBulletin®