fivem
fivem copied to clipboard
feat(onesync): physical game state and health research
- Adds research for
CPhysicalScriptGameStateDataNode
,CPhysicalHealthDataNode
andCPedAIDataNode
with respective natives to access relationship groups, object damage, proofs and other parsed data. - Makes
GetEntityHealth
andGetEntityMaxHealth
work with objects, and addsGetIsTaskActive
to check if a task is being performed.
Using 1604 as the reference, it looks like 0xD2
was the removed field. Here are the other fields I had documented (verification required, etc):
0xCD = SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS
0xCE = DontResetDamageFlagsOnCleanup
0xCF = SET_NETWORK_ID_CAN_BE_REASSIGNED (negated)
0xD0 = SET_NETWORK_ID_PASS_CONTROL_IN_TUTORIAL
0xD1 = _AnimatedCutsceneEntity (guesstimate'd)
0xD2 = SET_ENTITY_GHOSTED_FOR_GHOST_PLAYERS
0xD3 = SET_PICK_UP_BY_CARGOBOB_DISABLED
0xDD = SET_ALLOW_MIGRATE_TO_SPECTATOR
Anyone have any idea if this will ever be merged? This PR adds a lot of really useful natives, since many of these were previously only available on the client.