FANDOM


///////////////////////////////////////////////////////////////////////////////
// SetOwnersControlledCompanion
///////////////////////////////////////////////////////////////////////////////
// Created By: 	Brock Heinz - OEI
// Created On: 	09/23/05
// Description: This will find the player controlling oCurrentCreature, and set 
// 				their currently controlled companion to oTargetCreature. If it 
//				can’t find oTargetCreature, then the player is reassigned to 
//				whoever their original, owned character is. 
//
// Returns: 	The object that is now being controlled. If oCurrentCreature
//				was not being controlled by a player, then this will return
//				OBJECT_INVALID
///////////////////////////////////////////////////////////////////////////////
object SetOwnersControlledCompanion( object oCurrentCreature, object oTargetCreature=OBJECT_INVALID );

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.