MDE Scripting Changelog
From Nomad DB
Revision as of 16:05, 25 September 2021 by Administrator (talk | contribs)
This page documents notable Lua changes from MDE ScriptHook from version 1.0 upwards.
Contents
Version 1.1
Events
- Updated Script:OnUpdate event (added time parameter)
- Added Script:OnRender
UI: SimpleMenu
- Full documentation here
- Added UISimpleMenu:AddList, UISimpleMenu:AddText
- UISimpleMenu:GetSelectedListEntry
- UISimpleMenu:GetSelectedButtonEntry
- UISimpleMenu:SelectListEntryByIndex
- UISimpleMenu:SelectListEntryByValue
Rendering
- Full documentation here
- d3d.SetColor, d3d.DrawRect, d3d.DrawLine
- d3d.SetFont, d3d.DrawText, d3d.MeasureText
- d3d.DrawLine3D
Entity
- ScriptHook.GetAllEntities
- ScriptHook.GetEntitiesInRange
- ScriptHook.GetEntitiesByClassName
- ScriptHook.GetEntityClassNameByGuid
Experimental: CEF Integration
- Chromium Embedded Framework (CEF)
- Allows placing "WebFrames" in 2D/3D world
- Seperate download required (~70mb)
- Currently in experimental stage (no input possible, may cause frame drops)