OnActivate - ObjectReference/fr
Revision as of 17:07, 20 November 2012 by imported>Plplecuyer
Membre de: ObjectReference Script/fr
Évènement appelé lorsque la référence de l'objet est activé.
Syntaxe
Event OnActivate(ObjectReference akActionRef)
Paramètres
- akActionRef: L' ObjectReference qui a activé cette référence.
Exemple
Event OnActivate(ObjectReference akActionRef)
Debug.Trace("Activé par " + akActionRef)
EndEvent
Notes
Cet événement sera encore reçu si la référence d'objet a eu son traitement d'activation normale bloqué par BlockActivation. It is also most likely running after the object itself has done (or ignored) it's normal activation processing. Which means, for example, that if normally the object is picked up you won't be able to manipulate it as it will have already been moved into the actor's inventory.