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

Sandbox.ModAPI.Ingame.IMyOffensiveCombatBlock.TryGetSelectedAttackPattern

Malware edited this page Dec 13, 2025 · 2 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexIMyOffensiveCombatBlock

Summary

public bool TryGetSelectedAttackPattern(out IMyAttackPatternComponent attackPatternComponent)

Gets current attack pattern

Returns

bool

True if block has active attack pattern

Parameters

Summary

public bool TryGetSelectedAttackPattern(long patternId, out IMyAttackPatternComponent attackPatternComponent)

Gets current attack pattern

Returns

bool

True if block has active attack pattern

Parameters

Clone this wiki locally