Skip to content

Improve handtool detection for antigrinding #181

@midspace

Description

@midspace

There were changes put through for API improvements which need to be implemented for handtool checks.

https://forum.keenswh.com/threads/modapi-changes-jan-26.7392280/
Hand tools now have an OwnerID property which gives you the EntityId of the owning character. Also an OwnerIdentityId that tells you which player has the tool.
IMyCharacter.EquippedWeapon gives you the EntityId of the equipped tool/weapon.

Also look into IMyCubeBuilder.FindClosestGrid() for cubeplacer improvements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions