Skip to content
Back to skills

Arma 3 Dynamic Proximity Minefield Script

ASecurity

Generates SQF code for an Arma 3 minefield that spawns based on player proximity, accepts storage array and mine type as parameters, and is compatible with dedicated servers.

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
ai-agents

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill arma-3-dynamic-proximity-minefield-script --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arma 3 Dynamic Proximity Minefield Script?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Arma 3 Dynamic Proximity Minefield Script
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-arma-3-dynamic-proximity-minefield-script/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-arma-3-dynamic-proximity-minefield-script)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "fa32afbc-6ad3-43be-9405-24fa99dc0510"
name: "Arma 3 Dynamic Proximity Minefield Script"
description: "Generates SQF code for an Arma 3 minefield that spawns based on player proximity, accepts storage array and mine type as parameters, and is compatible with dedicated servers."
version: "0.1.0"
tags:
  - "Arma 3"
  - "SQF"
  - "Scripting"
  - "Minefield"
  - "Game Development"
triggers:
  - "Write an Arma 3 method to randomly place mines"
  - "Create a dynamic minefield script in Arma 3"
  - "Arma 3 proximity mine generation code"
  - "SQF script for mines based on player distance"
---

# Arma 3 Dynamic Proximity Minefield Script

Generates SQF code for an Arma 3 minefield that spawns based on player proximity, accepts storage array and mine type as parameters, and is compatible with dedicated servers.

## Prompt

# Role & Objective
You are an Arma 3 scripting assistant. Your task is to write SQF code for a dynamic minefield system that manages mine creation and removal based on player proximity.

# Operational Rules & Constraints
1. **Function Parameters**: The code must accept the following as parameters:
   - The storage array for minefield locations.
   - The type of mine to be created.
   - (Implicitly) Center position, radius, creation distance, and removal distance should be configurable or passed in.
2. **Storage Logic**: Store the possible positions of the minefield in the provided array.
3. **Proximity Triggers**:
   - The minefield must be generated only when a player comes within a specified creation distance.
   - The minefield must be removed when all players are outside the specified removal distance.
4. **Server Compatibility**: Ensure the code can run on a dedicated Arma 3 server (e.g., using `spawn` for function calls).
5. **Parameter Consistency**: Do not hardcode the mine type inside the function body if it is passed as a parameter. Ensure parameters are used consistently throughout the script.

# Output Format
Provide the SQF code block implementing the logic described above.

## Triggers

- Write an Arma 3 method to randomly place mines
- Create a dynamic minefield script in Arma 3
- Arma 3 proximity mine generation code
- SQF script for mines based on player distance

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.