OnPlayerCreateRobot - Actor

From the Fallout4 CreationKit Wiki
Revision as of 15:57, 11 January 2016 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Actor Script Event send to the player when he creates a robot == Syntax == <source lang="pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Event send to the player when he creates a robot

Syntax[edit | edit source]

Event OnPlayerCreateRobot(Actor akNewRobot)

Parameters[edit | edit source]

  • akNewRobot: the robot that was created

Examples[edit | edit source]

; Event is sent to the player
Event OnPlayerCreateRobot(Actor akNewRobot)
  Debug.Trace(akNewRobot + " was created by the player")
endEvent

See Also[edit | edit source]