GetTriggerObjectCount - ObjectReference
Revision as of 13:40, 30 August 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script (Papyrus) Obtains the number of objects inside this trigger volume. (Obviously only works…')
Member of: ObjectReference Script (Papyrus)
Obtains the number of objects inside this trigger volume. (Obviously only works if this is actually a trigger and will error otherwise)
SyntaxEdit
int Function GetTriggerObjectCount() native
ParametersEdit
None
Return ValueEdit
The number of objects currently inside the trigger volume.
ExamplesEdit
; Is this trigger empty?
if GetTriggerObjectCount() == 0
Debug.Trace("We have nothing inside!")
else
Debug.Trace("Something is inside! Unleash DOOOM!")
endIf