Skip to content

Small script api additions (linked PR #1) - #674

Open
TheLostInPlace wants to merge 10 commits into
themrdemonized:all-in-one-vs2022-wpofrom
TheLostInPlace:wd-script-api
Open

TheLostInPlace wants to merge 10 commits into
themrdemonized:all-in-one-vs2022-wpofrom
TheLostInPlace:wd-script-api

Conversation

@TheLostInPlace

Copy link
Copy Markdown
Contributor

LINKED PR # 1

This PR was split into a 4 part PR due to the size and to aid in reviewing changes

The MT version will contain all 4 plus an MT specific change

Changes

A handful of small script exports and fixes, one commit each.

  • setting a light's range from script now really changes it, the light used to ignore a change
    smaller than ten percent
  • the mouse wheel callback now reaches the actor
  • the real depth from the projection, a call that projects a whole list of points at once, and a
    way to ask whether the ui has grabbed the input
  • ini files: remove a whole section, read a key with four floats
  • weapons: stop the zoom, ask whether the scope draws through a texture, and the hud and weapon
    state enums
  • the inventory slot enum
  • how much each kind of zone is affecting the actor right now
  • condition and visual name of a server side item
  • luabind: calling a function with too few arguments now gives a lua error instead of reading past
    the start of the overload table

Nothing changes for scripts that do not use these. Every new export and enum is listed in
lua_help_ex.script. Built DX11-AVX x64. Merges into the MT branch without conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant