Skip to content

Conversation

@Teabone3
Copy link
Contributor

@Teabone3 Teabone3 commented Aug 6, 2025

adds references to even more hidden and new functions/commands:

FirePlayerWeapon(#) - set to 1 to force player to fire current weapon
GetWeaponSlotGot(weapon slot) - Returns weapon ID of slot number (1-9)
GetWeaponSlotNoSelect() -- To be documented.
GetObjectCentre(object id) -- returns center of object
GetEntityMarkerMode(e) -- returns marker mode (for lights, zones, checkpoints, etc)
GetLimbPosAng(object number, limb index) -- NEW COMMAND we added in August build but it didnt get a global.lua ref

GetLimbName (e,limbindex) -- this command has been moved closer to similar functions.
GetEntityWeight (e) -- this command has been moved closer to similar functions.

Update global.lua
@Teabone3 Teabone3 mentioned this pull request Aug 6, 2025
@Teabone3 Teabone3 changed the title adds additional command references to global.lua GGC - adds additional command references to global.lua Aug 6, 2025
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