API PickupCompanion

Places a companion onto the mouse cursor. PickupCompanion("type", index)

Arguments

 * type : String - companion type, either "MOUNT" or "CRITTER".
 * index : Number - index of the companion of the specified type to place on the cursor, ascending from 1.

Details

 * You should only use this function to pick up mounts; for critters, this function has been superseded by, and instead places an unusable spell on the cursor.