GetTriggerObjectCount - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Cipscis
m (Reverted edits by Heecf (talk) to last revision by Jlundin)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
int Function GetTriggerObjectCount() native
int Function GetTriggerObjectCount() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Is this trigger empty?
; Is this trigger empty?
if GetTriggerObjectCount() == 0
if GetTriggerObjectCount() == 0
Line 24: Line 24:
   Debug.Trace("Something is inside! Unleash DOOOM!")
   Debug.Trace("Something is inside! Unleash DOOOM!")
endIf
endIf
</source>
</syntaxhighlight>


== See Also ==
== See Also ==

Navigation menu