Civilian Traffic

script example for random civilian traffic

This script allows you to spawn in random civilian traffic.


How to use it:

1.) Copy / Past the FP folder from the sample mission in virtual reality


2.) Copy / Past the trigger to your mission and place it, where you want the players to be, to spawn in civilian traffic (e.g. a city).


------------------------------

For script-editors:


Trigger

Code
_nil = [thisTrigger,4] execVM "FP\civtraf\civtraf.sqf";

thisTrigger: do not change that part, this refers to the trigger

4: Number of vehicles, you can increase or decrease that, for instance _nil = [thisTrigger,99] execVM "FP\civtraf\civtraf.sqf"; will spawn in 99 vehicles.


Code



  • Version