Difference between revisions of "Osiris/API/ClearTag"
From Divinity Engine Wiki
(Documented ClearTag) |
m |
||
(One intermediate revision by the same user not shown) | |||
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 | + | * 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]] | ||
+ | * [[Osiris/API/Transform|Transform]] | ||
* [[Tag_editor|Tag Editor]] | * [[Tag_editor|Tag Editor]] | ||
[[Category:Osiris Calls|ClearTag]] | [[Category:Osiris Calls|ClearTag]] |
Latest revision as of 22:18, 3 April 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).