Osiris/API/ClearTag: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Documented ClearTag)
 
mNo edit summary
Line 4: Line 4:
Clear the [[Tag_editor|tag]] '''_Tag''' from '''_Source'''.
Clear the [[Tag_editor|tag]] '''_Tag''' from '''_Source'''.
===== Notes =====
===== Notes =====
* Only tags that were set from script or from a [[Dialog_editor|dialog]] can be cleared this way. Tags that were set via the editor sidebar on a root template or on an object cannot be cleared (except by [[Osiris/API/Transform|transforming]] to another root template).
* Only tags that were set from script or from a [[Dialog_editor|dialog]] can be cleared this way. Tags that were set via the editor sidebar on a root template or on an object cannot be cleared (except by making use of a polymorph status: in that case, the root/sidebar tags will be replaced with those of the target root template; regular (Character)Transform calls do not affect them).
===== See Also =====
===== See Also =====
* [[Osiris/API/SetTag|SetTag]]
* [[Osiris/API/SetTag|SetTag]]

Revision as of 16:20, 28 February 2019

Full Definition(s)
  • call ClearTag((GUIDSTRING)_Source, (STRING)_Tag)
Description

Clear the tag _Tag from _Source.

Notes
  • Only tags that were set from script or from a dialog can be cleared this way. Tags that were set via the editor sidebar on a root template or on an object cannot be cleared (except by making use of a polymorph status: in that case, the root/sidebar tags will be replaced with those of the target root template; regular (Character)Transform calls do not affect them).
See Also