Complete Example Scripts: Difference between revisions

Jump to navigation Jump to search
m
imported>JustinOther
imported>JustinOther
Line 133: Line 133:


Event OnTriggerEnter(ObjectReference akActionRef)
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer())
If akActionRef == Game.GetPlayer()
iIndex = ListOfObjectsFLST.GetSize() ; Indices are offset by 1 relative to size
iIndex = ListOfObjectsFLST.GetSize() ; Indices are offset by 1 relative to size
While(iIndex > 0)
While(iIndex > 0)
Line 165: Line 165:
* Use enable/disable to make a whole bunch of special effect objects (they start with FX in editor) appear or disappear
* Use enable/disable to make a whole bunch of special effect objects (they start with FX in editor) appear or disappear
Enjoy!
Enjoy!


=== Cycle Through a List of Objects and Perform an Action on Each Object(Linked Ref Chain) ===
=== Cycle Through a List of Objects and Perform an Action on Each Object(Linked Ref Chain) ===
Anonymous user

Navigation menu