GetAssociateStartLocation

From NWN Lexicon



Contents

[edit] GetAssociateStartLocation()

Gets the start location of an NPC associate.

[edit] Description

Returns the start location of an NPC associate.



[edit] Remarks

Do not see this function used anywhere in the includes or in the official campaign scripts. All this does is return a location variable that is retrieved from the calling objects local variable called "NW_ASSOCIATE_START".


[edit] Requirements

#include " x0_i0_assoc "

[edit] Version

1.22

[edit] Example

// Used in an ActionsTaken script for a henchmen when the Player Character tells
// them they are dismissed.
void main(){
	ClearAllActions();
	ActionMoveToLocation(GetAssociateStartLocation());
}

[edit] See Also

functions: 

SetAssociateStartLocation



 author: Charles Feduke, editors: John Shuell, Mistress
 

Personal tools
Categories