The EventActivateItem() NWScript command creates an OnActivateItem event to be sent to the module, indicating that the specified item has been activated. This function only creates the event; to actually trigger the event, this function's return value must be passed to SignalEvent(). This command is used by BioWare to transform the spells associated with the various "activate item" and "unique power" item properties into the module's OnActivateItem event. This is done in the scripts NW_S3_ActItem01 and X0_S3_Portal; use of this command outside those scripts is rare.
Attributes | Values |
---|
rdfs:label
| |
rdfs:comment
| - The EventActivateItem() NWScript command creates an OnActivateItem event to be sent to the module, indicating that the specified item has been activated. This function only creates the event; to actually trigger the event, this function's return value must be passed to SignalEvent(). This command is used by BioWare to transform the spells associated with the various "activate item" and "unique power" item properties into the module's OnActivateItem event. This is done in the scripts NW_S3_ActItem01 and X0_S3_Portal; use of this command outside those scripts is rare.
- function EventActivateItem (object oItem, location lTarget, object oTarget=OBJECT_INVALID) Activate oItem.
* Return type: event
* Include file: nwscriptdefn
|
param3desc
| - The object targeted by the activation, if there is one.
|
dcterms:subject
| |
dbkwik:nwn2/proper...iPageUsesTemplate
| |
returns
| |
Name
| |
param
| - object oTarget
- location lTarget
- object oItem
|
param2desc
| - The location of the target of the activation.
|
param1desc
| - The item that was activated.
|
param3default
| |
dbkwik:nwn/property/wikiPageUsesTemplate
| |
abstract
| - The EventActivateItem() NWScript command creates an OnActivateItem event to be sent to the module, indicating that the specified item has been activated. This function only creates the event; to actually trigger the event, this function's return value must be passed to SignalEvent(). This command is used by BioWare to transform the spells associated with the various "activate item" and "unique power" item properties into the module's OnActivateItem event. This is done in the scripts NW_S3_ActItem01 and X0_S3_Portal; use of this command outside those scripts is rare.
- function EventActivateItem (object oItem, location lTarget, object oTarget=OBJECT_INVALID) Activate oItem.
* Return type: event
* Include file: nwscriptdefn
|