Jump to content
Sign in to follow this  
GabeGuitarded

[Feature Request] Scripting Command to Retrieve Unit Init String

Recommended Posts

Just like the title says, I'd really like a scripting command to retrieve this value from a unit. We have one for for pretty much every other field in the Vehicles class, so why not this? My reason for asking is because it would make it a lot easier to maintain unit properties after respawning, especially when it comes to calling scripts.

Examples that already exist:

-position

-skill

-rank

-side

class Vehicles
{
items=1;
class Item0
{
	position[]={14366.711,19.847498,16263.894};
	azimut=0.086911298;
	id=2;
	side="WEST";
	vehicle="CAF_SPOTTER_AR";
	player="PLAY CDG";
	leader=1;
	rank="SERGEANT";
	skill=0.83548671;
-->		init="null = [this, 0] execVM ""CAFLoadouts.sqf"";";
};
};

Edited by GabeGuitarded

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×