Sign in to follow this  
Followers 0
Ambu5h

Request if family or not

1 post in this topic

Im trying to get my Aircraft spawning to work reliably.
Only way to do this is to only allow players in families to be able to spawn there.
(if player without a family spawn in the aircraft the AI pilot derps out and stops flying through its waypoints).

How do i request the current family from a player object?

In createBambi.sqf i found this part:

_clanData = missionNamespace getVariable [format ["ExileServer_clan_%1",_clanID],[]];

But this requires a _clanID which i do not have access to from selectSpawnLocation_show.sqf (or not in a way that i know off).
It needs to check if the player (_bambiPlayer variable) is in a family, and if so... Add the spawn option.

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.