Difference between revisions of "Container Target References"

From HLKitWiki
Jump to: navigation, search
Line 13: Line 13:
 
|(Read-Only) Returns whether the container is a hero (1) or not (0).<br>
 
|(Read-Only) Returns whether the container is a hero (1) or not (0).<br>
 
Example: "result = this.ishero".
 
Example: "result = this.ishero".
 +
|-
 +
|isactive
 +
|
 
|-
 
|-
 
|assign[''tag'']
 
|assign[''tag'']
Line 78: Line 81:
 
|-
 
|-
 
|tagsearch[
 
|tagsearch[
 +
|
 +
|-
 +
|intersect[
 +
|
 +
|-
 +
|inherit
 
|
 
|
 
|-
 
|-
Line 89: Line 98:
 
|
 
|
 
|-
 
|-
|weight
+
|childexists[id]
|(Read-Only) Returns the total weight of all "gear" picks within the container.<br>
+
|
Example: "result = this.weight".
+
 
|-
 
|-
|foreach
+
|picklives[id]
 
|
 
|
 
|-
 
|-
|errorcount
+
|pickcount[id]
 
|
 
|
 
|-
 
|-
|errorlist
+
|haschild[
 
|
 
|
 
|-
 
|-
|istransact
+
|isidentity
 
|
 
|
 
|-
 
|-
|isminion
+
|setidentity
 
|
 
|
 
|-
 
|-
|ismaster
+
|countidentity
 
|
 
|
 
|-
 
|-
|miniontext
+
|setactor
 
|
 
|
 
|-
 
|-
|isactive
+
|foreach
 
|
 
|
 
|-
 
|-
|initchange
+
|isminion
 
|
 
|
 
|-
 
|-
|ismoveup
+
|ismaster
 
|
 
|
 
|-
 
|-
|ismovedown
+
|hasminion[
 
|
 
|
 
|-
 
|-
|combatant
+
|miniontext
 
|
 
|
 
|-
 
|-
Line 132: Line 140:
 
|
 
|
 
|-
 
|-
|panelvalid[id]
+
|isdynalink[
 
|
 
|
 
|-
 
|-
|childexists[id]
+
|istransact
 
|
 
|
 
|-
 
|-
|picklives[id]
+
|weight
|
+
|(Read-Only) Returns the total weight of all "gear" picks within the container.<br>
 +
Example: "result = this.weight".
 
|-
 
|-
|pickcount[id]
+
|gearlist
 
|
 
|
 
|-
 
|-
|inherit
+
|geartree
 
|
 
|
 
|-
 
|-
|isidentity
+
|panelvalid[id]
 
|
 
|
 
|-
 
|-
|setidentity
+
|errorcount
 
|
 
|
 
|-
 
|-
|countidentity
+
|errorlist
 
|
 
|
 
|-
 
|-
|isdynalink[
+
|combatant
 
|
 
|
 
|-
 
|-
|gearlist
+
|initchange
 
|
 
|
 
|-
 
|-
|geartree
+
|ismoveup
 
|
 
|
 
|-
 
|-
|hasminion[
+
|ismovedown
|
+
|-
+
|setactor
+
 
|
 
|
 
|-
 
|-
Line 181: Line 187:
 
|-
 
|-
 
|combatdefer
 
|combatdefer
|
 
|-
 
|haschild[
 
|
 
|-
 
|intersect[
 
 
|
 
|
 
|-
 
|-
 
|}
 
|}

Revision as of 04:04, 5 December 2008

Context: HL KitKit Reference … Target References 

There are a wide assortment of operations that can be performed on containers, some of which modify the container and some that simply retrieve information about the container. The complete list of these operations is presented in the table below.

NOTE! When a container is accessed from within a visual script, all operations are restricted to read-only behavior. Any attempts to modify a container from within a visual script will fail.

live (Read-Only) Returns whether the container is currently considered "live" (1) or not (0). The live state for a gizmo is dictated by the live state of its parent pick that attaches it, while a hero is always considered live.

Example: "result = this.live".

ishero (Read-Only) Returns whether the container is a hero (1) or not (0).

Example: "result = this.ishero".

isactive
assign[tag]
delete[tmpl]
assignstr[str]
deletestr[str]
tagis[tmpl]
tagcount[tmpl]
tagvalue[tmpl]
tagmax[tmpl]
tagmin[tmpl]
tagexpr[expr]
taguniquestr[str]
tagcountstr[str]
tagvaluestr[str]
tagmaxstr[str]
tagminstr[str]
taguniquestr[str]
tagexprstr[str]
livename
actorname
playername
tagmatch[
tagsearch[
intersect[
inherit
tagnames
tagabbrevs
tagids
childexists[id]
picklives[id]
pickcount[id]
haschild[
isidentity
setidentity
countidentity
setactor
foreach
isminion
ismaster
hasminion[
miniontext
sourcetree
isdynalink[
istransact
weight (Read-Only) Returns the total weight of all "gear" picks within the container.

Example: "result = this.weight".

gearlist
geartree
panelvalid[id]
errorcount
errorlist
combatant
initchange
ismoveup
ismovedown
combatmove[
combatmovenow
combatact
combatdefer