Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Sandbox.ModAPI.Ingame.IMyOffensiveCombatHitAndRun.SetSelectedWeapons

Morten Aune Lyrstad edited this page Apr 13, 2023 · 2 revisions

IndexNamespace IndexIMyOffensiveCombatHitAndRun

Summary

public void SetSelectedWeapons(List<long> blockEntityId)

Sets weapons EntityIds that can would be used to damage to attack enemy Modded gun are allowed, but you need override Sandbox.ModAPI.IMyOffensiveCombatHitAndRun.BlockValidation and Sandbox.ModAPI.IMyOffensiveCombatHitAndRun.SetShooting

Parameters

Clone this wiki locally