agentsclimarketplace

Arma 3 dynamic proximity minefield script

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill arma-3-dynamic-proximity-minefield-script

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.2 KB, 355 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.