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:53] spankitty [GetFactionId / SetFactionId] |
building:scripts:api:custom_factions_default_factions [2022/12/05 13:00] spankitty [GetFactionId / SetFactionId] |
||
---|---|---|---|
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 : |
- | void AddCustomFactionToCreature(object oCreature, int nCustomFactionId); | + | <code>void AddCustomFactionToCreature(object oCreature, int nCustomFactionId);</code> |
- | void RemoveCustomFactionFromCreature(object oCreature, int nCustomFactionId); | + | <code>void RemoveCustomFactionFromCreature(object oCreature, int nCustomFactionId);</code> |
---- | ---- |