Moderator
Last active 3 years ago
It's slightly cumbersome but using an existing RHS faction as the base for your new faction - just modify it to fit your goal. Try exporting that and see if it still errors.
It might not be possible to add units which don't have a faction, I don't remember exactly how the code works. You could manually add one to the faction out-of-game and then copy it in-game.
the second time I am doing it
What do you mean by this line? Did you create a new faction, or just modify the existing one?
If they aren't synced to the virtual AI system module then they will be virtualized, which will break the respawn module as virtual vehicles can spawn in and out of the game world frequently.
Here's a function for determining whether or not a profile exists (it will always exist if it's alive, and never exist if it's not).
sb_fnc_profileExists = { private _profileID = _this; private _profile = [ALiVE_sysProfile,"getProfile", _profileID] call ALiVE_fnc_hashGet; !(isnil "_profile") };
You can determine the profileID using many ways. If you create the profile directly using one of our functions listed on the wiki then it will return either the profileID or the profile hash which can be used to grab the ID. You can also use our ALiVE_fnc_getNearProfiles directly on the man's position and give it a small radius so it only finds the desired profile.
If you have the unit object after the unit has been profiled already, you can grab the ID of the profile he belongs to using
private _unitObject = ...; private _profileID = _unitObject getvariable ["profileID", ""];
I have a solution for you, if I dont post it by sunday please ping me.
So both the player and server were running the appropriate keys? Have you generated signed key before and this is the first time you've had issues with it? I've been away from Arma too long to help with key signing, but some additional info might help.
There should be nothing different from making keys for ORBAT Creator factions than any other mod.
Edit: May be an issue here, but need to investigate.
Guys just a warning that this Heroes may not be the real heroes, he is not to be trusted.
Will the real Heroes please stand up.