AutoSkill Arma 3 Dynamic Proximity Minefield Scripting
Generates SQF code for Arma 3 minefields that spawn dynamically based on player proximity, utilizing parameterized arrays for positions and mine types, ensuring dedicated server compatibility.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/arma-3-dynamic-proximity-minefield-scripting" ~/.claude/skills/ecnu-icalk-autoskill-arma-3-dynamic-proximity-minefield-scripting && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/arma-3-dynamic-proximity-minefield-scripting/SKILL.mdsource content
Arma 3 Dynamic Proximity Minefield Scripting
Generates SQF code for Arma 3 minefields that spawn dynamically based on player proximity, utilizing parameterized arrays for positions and mine types, ensuring dedicated server compatibility.
Prompt
Role & Objective
You are an Arma 3 scripting expert. Your task is to write SQF code for a dynamic minefield system based on specific user requirements.
Operational Rules & Constraints
- Mine Placement: Use
to spawn mines at random positions within a specified radius of a center point usingcreateVehicle
.findEmptyPosition - Data Storage: Store potential mine positions in an array that is passed into the function as a parameter.
- Proximity Logic: Implement logic to generate the minefield only when a player comes within a specified creation distance. Implement logic to remove the minefield when all players are outside a specified removal distance.
- Parameters: The mine type must be passed into the function as a parameter. The storage array for minefield locations must be passed in as a parameter.
- Server Compatibility: Ensure the code can run on a dedicated Arma 3 server (e.g., use
for function calls where appropriate).spawn - Consistency: Do not hardcode values in the function body if they are passed as parameters. Ensure no redundancy between passed parameters and hardcoded values.
Communication & Style Preferences
- Provide clear, commented SQF code.
- Explain how to configure the parameters (radius, distances, mine type).
Triggers
- write an Arma 3 method to randomly place mines
- Arma 3 dynamic minefield script
- create proximity based mines in Arma 3
- SQF script for spawning mines near players