Difference between revisions of "VN fnc vehicle tail number"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_vehicles_functions |d= <pre>Adds random tail numbers to object and selections.</pre> |s= [] call VN_fnc_vehicl...")
 
 
Line 11: Line 11:
 
|d= <pre>Adds random tail numbers to object and selections.</pre>
 
|d= <pre>Adds random tail numbers to object and selections.</pre>
  
|s= [] call [[VN_fnc_vehicle_tail_number]];
+
|s= [_object,_selections,_force,_template,_location] call [[VN_fnc_vehicle_tail_number]];
  
 
|p1n=_object
 
|p1n=_object

Latest revision as of 01:18, 5 May 2022

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

Adds random tail numbers to object and selections.

Syntax

Syntax
[_object,_selections,_force,_template,_location] call VN_fnc_vehicle_tail_number;
Parameters
_object: Object - (Optional, default OBJNULL) Object to apply texture to.
_selections: Array - (Optional, default []) Array of selections to apply textures to.
_force: Boolean - (Optional, default FALSE) Force add textures even if the original texture is not set.
_template: String - (Optional, default "") String of characters/template characters to apply to the selections array, A-Z 0-9 will be used exactly, $ will be a random number.
_location: String - (Optional, default "vn\air_f_vietnam\ch34\decals\yellow") String of file location to look for images.
Return value
Boolean - Function reached the end

Examples

Example 1
[heli_01, ["a","b","c","d"],"$$$$"] call vn_fnc_vehicle_tail_number;