Difference between revisions of "OnActivate - ObjectReference/fr"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
(Création de la page)
 
imported>Plplecuyer
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
{{Template:Incomplete Translation/fr}}
[[Category:Papyrus]]
[[Category:Scripting/fr]]
[[Category:Events]]
[[Category:Papyrus/fr]]
'''Member of:''' [[ObjectReference Script]]
[[Category:Events/fr]]
'''Membre de:''' [[ObjectReference Script/fr]]


Event called when the object reference is activated.
Évènement appelé lorsque la référence de l'objet est activé.


== Syntax ==
== Syntaxe ==
<source lang="papyrus">
<source lang="papyrus">
Event OnActivate(ObjectReference akActionRef)
Event OnActivate(ObjectReference akActionRef)
</source>
</source>


== Parameters ==
== Paramètres ==
*akActionRef: The [[ObjectReference Script|ObjectReference]] that activated this reference.
*akActionRef: L' [[ObjectReference Script/fr|ObjectReference]] qui a activé cette référence.


== Examples ==
== Exemple ==
<source lang="papyrus">
<source lang="papyrus">
Event OnActivate(ObjectReference akActionRef)
Event OnActivate(ObjectReference akActionRef)
   Debug.Trace("Activated by " + akActionRef)
   Debug.Trace("Activé par " + akActionRef)
EndEvent
EndEvent
</source>
</source>


== Notes ==
== Notes ==
This event will still be received if the object reference has had its normal activation processing blocked via [[BlockActivation - ObjectReference|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.
Cet événement sera encore reçu si la référence d'objet a eu son traitement d'activation normale bloqué par  [[BlockActivation - ObjectReference/fr|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.
 
== Voir aussi ==
== See Also ==
*[[ObjectReference Script/fr]]
*[[ObjectReference Script]]
*[[Activate/fr]]
*[[Activate]]
*[[Activate - ObjectReference/fr]]
*[[Activate - ObjectReference]]
*[[Activate (Procedure)/fr]]
*[[Activate (Procedure)]]
*[[Activator/fr]]
*[[Activator]]
*[[BlockActivation - ObjectReference/fr]]
*[[BlockActivation - ObjectReference]]
*[[Player Activate Actor/fr]]
*[[Player Activate Actor]]

Latest revision as of 17:07, 20 November 2012

200px Alert image.png LISEZ CETTE NOTE !

Cet article est destiné à accueillir la traduction d'un article écrit dans une autre langue et n'est pas terminé. Certaines parties sont encore en version originale, ou absentes.

Aidez-nous ! Si vous avez les connaissances nécessaires, s'il vous plaît, modifiez cet article afin que nous puissions retirer le drapeau "Traduction incomplète".

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]

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.

Voir aussi[edit | edit source]