User Tools

Site Tools


building:scripts:events

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 Both sides next revision
building:scripts:events [2019/03/11 00:46]
Mavrixio
building:scripts:events [2019/03/11 01:39]
Mavrixio
Line 14: Line 14:
 \\ \\ Here's the list of the new [[.:​events:​variable_based]]:​ \\ \\ Here's the list of the new [[.:​events:​variable_based]]:​
 ^Variable Name^Description^Caller^Parameters^Return Value / BypassEvent() Result^Example^ ^Variable Name^Description^Caller^Parameters^Return Value / BypassEvent() Result^Example^
-|EVENT_CANUSE|Called before determining if an item can be used or not.|The Item|0: The item possessor|Boolean: ​Weather ​or not the item can be used (SetEventResultInt(TRUE or FALSE))|[[https://​nwn.sinfar.net/​res_nss_edit.php?​name=scroll_w_canuse|scroll_w_canuse]]|+|EVENT_CANUSE|Called before determining if an item can be used or not.|The Item|0: The item possessor|Boolean: ​Wether ​or not the item can be used (SetEventResultInt(TRUE or FALSE))|[[https://​nwn.sinfar.net/​res_nss_edit.php?​name=scroll_w_canuse|scroll_w_canuse]]| 
 +|EVENT_RECVITEM|An item is about to be added to an object inventory|The object that will acquire the item|0: The Item \\ 1: The current item possessor|Boolean:​ Wether or not the item should be added to the caller'​s inventory|[[https://​nwn.sinfar.net/​res_nss_edit.php?​name=mail_putinbox|mail_putinbox]]|
  
  
  
  
building/scripts/events.txt · Last modified: 2020/10/13 20:35 (external edit)

phpBB Appliance - Powered by TurnKey Linux