How to get player affiliation?
-
Brrrr, problem is to found player affilation of player who destroyed dockable base, i mean…:
[player]
…
house = 0, fc_maquis_grp
house = -0.3, fc_corse_grp
house = -0.3, fc_brigands_grp
…
rep_group = fc_freelancer ; <-- this string
…for example to show in event mode:
basedestroy basename=Li01_08_Base basehash=3197728322 solarhash=2810150415 by=Poupkine with affilation=fc_freelancer
So at server side function to get affilation gives always 0?
-
I mean that from how FL works internally, players never have an affiliation. Of course they can have a rep-group, but they wont have an affiliation as regards the reputation methods and so on (-> get-affiliation always returning 0). Correct me if Im wrong.
-
w0dk4 wrote:
Ah, good to know!yes very… i always thought it was set via the NewCharacter.ini & linked into “co_ic_grp” & its reputations in empathy.ini
so… that’s SP only im reading here? For MP its set differently… especially when hook is involved. im very intrigued…
-
And how to get tsNick to be printed?
TString<16> tsNick; Reputation::get_nickname(tsNick, iAff);