Copy Character Into Virtual Stage

From HEWIKI
Jump to: navigation, search

function CopyCharacterIntoVirtualStage(originalChar, stageName) as stageChar


Arguments

originalNode 
A noderef of class HBNode, which must be a character
stageName 
A string with the name of the Virtual Stage that is being used. Must be a valid name. A null string will generate an error
stageChar 
A noderef of class HBNode, which refers to the new copied character

Description

This function copies an entire character, including their inventory, to a virtual stage. One possible use of this function might be to display a character's invetory. As of this writing, it does not copy objects that are "held" by the character. To move those items as well, a separate prop bucket is needed.

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox