User Tools

Site Tools


building:creatures:events
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]
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:creatures:events [2022/12/06 14:17]
spankitty
building:creatures:events [2022/12/08 09:14] (current)
spankitty
Line 3: Line 3:
 Sinfar creatures use these scripts [[building:​creatures:​scripts]]. Sinfar creatures use these scripts [[building:​creatures:​scripts]].
  
-If you want your NPC to behave differently or do some specific things for a given event (ex : apply appearance ​at spawn), you can use the AI event system to preceed the scripted event. ​+If you want your NPC to behave differently or do some specific things for a given event (ex : say Hello! ​at spawn), you can use the AI event system to preceed the scripted event. ​
  
 nw_c2_default1 - On Heartbeat event : EVENT_AI_HEARTBEAT (string) - Script name for pre-event use.\\ nw_c2_default1 - On Heartbeat event : EVENT_AI_HEARTBEAT (string) - Script name for pre-event use.\\
Line 33: Line 33:
  
 Ex : Ex :
-<​code>​RegisterVariableEvent(oNPC,​ "​EVENT_AI_SPAWN",​ "MY_ERF_SPAWN_SCRIPT"​);</​code>​ +<​code>​RegisterVariableEvent(oNPC,​ "​EVENT_AI_SPAWN",​ "erfprefix_spawn_script"​);</​code>​ 
-<​code>​UnregisterVariableEvent(oNPC,​ "​EVENT_AI_SPAWN",​ "MY_ERF_SPAWN_SCRIPT"​);</​code>​ +<​code>​UnregisterVariableEvent(oNPC,​ "​EVENT_AI_SPAWN",​ "erfprefix_spawn_script"​);</​code>​
  
 +Note : nw_c2_default9 uses the variable ENTIRE_APPEARANCE2 already.
  
authpdo: Statement did not return 'mail' attribute [auth.php:522]
building/creatures/events.1670336238.txt.gz · Last modified: 2022/12/06 14:17 by spankitty

phpBB Appliance - Powered by TurnKey Linux