This shows you the differences between two versions of the page.
Both sides previous 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 12:55] spankitty [GetFactionId / SetFactionId] |
||
---|---|---|---|
Line 7: | Line 7: | ||
You can attribute or remove the custom faction ID's with the following functions : | You can attribute or remove the custom faction ID's 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> |
---- | ---- |