Difference between revisions of "VN fnc vehicle tail number"
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...") |
(No difference)
|
Revision as of 01:16, 5 May 2022
| ← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Adds random tail numbers to object and selections.
Syntax
- Syntax
- [] 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;