OnActivate - ObjectReference/fr
Jump to navigation
Jump to search
Membre de: ObjectReference Script/fr
Évènement appelé lorsque la référence de l'objet est activé.
Syntaxe[edit | edit source]
Event OnActivate(ObjectReference akActionRef)
Paramètres[edit | edit source]
- akActionRef: L' ObjectReference qui a activé cette référence.
Exemple[edit | edit source]
Event OnActivate(ObjectReference akActionRef)
Debug.Trace("Activé par " + akActionRef)
EndEvent
Notes[edit | edit source]
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.