OnPlayerCreateRobot - Actor

From the Fallout4 CreationKit Wiki
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]