SetGlobal

From NWN Lexicon



Contents

[edit] SetGlobal(object, object)

Sets where all the globals for a plot are going to be stored.

void SetGlobal(
    object oTarget,
    object oGlobal
);

[edit] Parameters

oTarget

The object you wish to store the plot related information on.

oGlobal

The object to store the plot information on, created using the Global() function.


[edit] Description

Creates an object on oTarget to hold the plot related information object created using the Global() function.



[edit] Remarks

Part of a series of scripts that are used to store quest related information and make simple quests easy to script. This particular function is defined in more than one file:

Function can be found in nw_j_complex.nss on line 44.
Function can be found in nw_j_story.nss on line 47.
Function can be found in nw_j_theft.nss on line 44.
Function can be found in nw_j_fetch.nss on line 47.
Function can be found in nw_j_artifact.nss on line 47.
Function can be found in nw_j_assassin.nss on line 107.
Function can be found in nw_j_guard.nss on line 47.
Function can be found in nw_j_rescue.nss on line 64.


[edit] Requirements

#include " nw_j_artifact "

[edit] Version

1.22

[edit] See Also

functions: 

TakeStoryItem



 author: John Shuell
 

Personal tools
Categories