VN_fnc_vehicle_tail_number
Jump to navigation
Jump to search
← 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
- [_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;