Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Sandbox.ModAPI.Ingame.IMyOffensiveCombatHitAndRun.SetSelectedWeapons

Morten Aune Lyrstad edited this page Apr 13, 2023 · 1 revision

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