GetLastAssociateCommand(object)

Get the last command issued to a given associate.

int GetLastAssociateCommand(
    object oAssociate = OBJECT_SELF
);

Parameters

oAssociate

NPC associate whose last issued command is to be retrieved. (Default: OBJECT_SELF)


Description

Returns the last command (ASSOCIATE_COMMAND_*) issued to oAssociate.



Version

1.22

See Also

functions: GetAssociate
categories: Get Data from Creature Functions | Henchmen/Familiars/Summoned Functions
constants: ASSOCIATE_COMMAND_* Constants


 author: Charles Feduke, editor: Kristian Markon