MDE Scripting: Entities

From Nomad DB
Revision as of 20:20, 27 October 2020 by Jan (talk | contribs)

Common

Tip All entities are SceneObject. They extends of C_SceneObjectLuaWrapper.

Human

  • WIP


Player

How to Get the Player entity


Vehicle

Tip Theses functions work for Boat, Car and Motorcycle (only the SceneObject, not the component).
How to Get the Player's current Vehicle entity
  • WIP


Boat

How to Get the Player's current Boat entity


Car

How to Get the Player's current Car entity


Motorcycle

Tip You need to get the C_RuntimeMotorcycleComponent component from the Vehicle SceneObject to use theses functions.
How to Get the Vehicle's current Motorcycle component

Camera

  • WIP


Props

  • WIP