User Tools

Site Tools


building:scripts:api:custom_factions_default_factions
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]
authpdo: Statement did not return 'mail' attribute [auth.php:522]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
building:scripts:api:custom_factions_default_factions [2023/06/15 08:27]
spankitty [Default Factions]
building:scripts:api:custom_factions_default_factions [2023/06/15 08:34] (current)
spankitty [Custom Factions]
Line 1: Line 1:
-====== ​Custom ​Factions ======+====== Factions ====== 
 + 
 + 
 +===== Custom Factions ​=====
  
 Sinfar'​s systems support the manipulation of factions, including custom ones. Each faction is given a unique ID that can then be given different reputations with other factions. Sinfar'​s systems support the manipulation of factions, including custom ones. Each faction is given a unique ID that can then be given different reputations with other factions.
Line 5: Line 8:
 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 to your erf NPC or faction PC with the following functions : +You can set the faction variable directly on the NPC with : 
 + 
 +<​code>​AI_FACTION_ID_XXXXX (integer) XXXXX</​code>​ 
 + 
 +You can attribute or remove the custom faction ID'​s ​by script ​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>​
Line 11: Line 18:
  
 ---- ----
-====== Default Factions ​======+===== Default Factions =====
  
 <​code>​int GetFactionId(object oObject);</​code>​ <​code>​int GetFactionId(object oObject);</​code>​
authpdo: Statement did not return 'mail' attribute [auth.php:522]
building/scripts/api/custom_factions_default_factions.1686817676.txt.gz · Last modified: 2023/06/15 08:27 by spankitty

phpBB Appliance - Powered by TurnKey Linux