Ref tag

From MovieBattles II Wiki

Jump to: navigation, search

DESCRIPTION

Reference tags which can be positioned throughout the level. These tags can later be referred to by the scripting system so that their origins and angles can be referred to.


KEYS&VALUES

targetname - The name of this tag

ownername - The owner of this tag

target - Use to point the tag at something for angles


NOTES

If you set angles on the tag, these will be retained.

If you target a ref_tag at an entity, that will set the ref_tag's angles toward that entity.

If you set the ref_tag's ownername to the ownername of an entity, it makes that entity is the owner of the ref_tag. This means that the owner, and only the owner, may refer to that tag.

Tags may not have the same name as another tag with the same owner. However, tags with different owners may have the same name as one another. In this way, scripts can generically refer to tags by name, and their owners will automatically specify which tag is being referred to.

Personal tools