GetAssociateStartLocation()

Gets the start location of an NPC associate.

location GetAssociateStartLocation();

Description

Returns the start location of an NPC associate.



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".


Requirements

#include "x0_i0_assoc"

Version

1.22

Example

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

See Also

functions: GetAssociate | SetAssociateStartLocation
categories: Henchmen/Familiars/Summoned Functions


 author: Charles Feduke, editors: John Shuell, Mistress