There's already a randomization for license plates of civilian vehicles in the game.
It would be great (and probably not too much of an effort) to add script commands to allow mission makers to make custom license plates / return the current license plates on a vehicle.
Something like getLicensePlate or setLicensePlate would be good. {F23585}
Description
Details
- Legacy ID
- 1810608758
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Try to retrieve a civilian vehicles license plate with scripting or try to give it a custom license plate.
Event Timeline
Just did some further testing, if you spawn civilian vehicle mid mission they won't have any license plates at all.
Would it be possible to save the license plate of a vehicle via setvariable "BIS_fnc_licenseplate" or similar?
It could work the same way like setting the go-karts numbers:
this setVariable ['number', XX];
This would be a neat little feature.
Any further input on this?
Would be nice to have for certain missions (only get the vehicle license plate as hint where to find a target etc.)
From the looks this seems to be assigned now,
in hope that a funtion for it will be implemented, is it by any means possible to make vehicles that are being spawned mid-mission to have working numberplates aswell?
Cheers
@DarkDruid - has any work been considered with this type of command? Pushing my luck but any more in perhaps making the plate being definable on it's creation?
I'm looking back at the issue many years after I looked into it to see if any advancements has been made.
Many thanks :)
http://killzonekid.com/arma-extension-getnumberplate-dll-v1-0/
http://killzonekid.com/arma-scripting-tutorials-getset-kart-number/
KK's thingy seems to read the data directly from engine memory. You could probably also write to that using an extension.. Or a very simple script command.