This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
building:scripts:api:custom_factions_default_factions [2022/12/05 12:55] spankitty [GetFactionId / SetFactionId] |
building:scripts:api:custom_factions_default_factions [2023/06/15 08:23] spankitty ↷ Page name changed from building:scripts:api:getsetfactionid to building:scripts:api:custom_factions_default_factions |
||
---|---|---|---|
Line 5: | Line 5: | ||
See: https://nwn.sinfar.net/cstmfac_manageform.php | See: https://nwn.sinfar.net/cstmfac_manageform.php | ||
- | You can attribute or remove the custom faction ID's with the following functions : | + | You can attribute or remove the custom faction ID's to your erf NPC or faction PC with the following functions : |
<code>void AddCustomFactionToCreature(object oCreature, int nCustomFactionId);</code> | <code>void AddCustomFactionToCreature(object oCreature, int nCustomFactionId);</code> |