Creating the Lua Entity Script

Learn how to add entity properties for our entity so that they can be changed in the RollupBar. Create a Lua entity script and attach it to our C++ entity.

  • Create a .lua file and save it in the Game/Scripts/Entities folder or in one of its sub folders
  • Create your entity's class table
  • Add variables/tables to your entity's table to have them show up in the RollupBar

Complete and Continue