Difference between revisions of "OnActivate"

Jump to navigation Jump to search
4 bytes added ,  22:31, 13 December 2010
m
no edit summary
imported>Bruneauinfo
(→‎Notes: PlayGroup)
imported>Bruneauinfo
m
Line 7: Line 7:
*Using OnActivate will prevent normal activation of the object. To use the object's default activation you must call [[Activate]] on it.
*Using OnActivate will prevent normal activation of the object. To use the object's default activation you must call [[Activate]] on it.


*Animations on activators are carried out using PlayGroup. This is helpful if your activator has an animation associated with it.
*Animations on activators are carried out using [[PlayGroup]]. This is helpful if your activator has an animation associated with it.


*If you want to do something specific depending on what activated the object, use [[IsActionRef]] or [[GetActionRef]] inside the OnActivate block. They won't return the correct ActionRef in any other block.
*If you want to do something specific depending on what activated the object, use [[IsActionRef]] or [[GetActionRef]] inside the OnActivate block. They won't return the correct ActionRef in any other block.
Anonymous user

Navigation menu