enforcescript-patterns

Official

Master EnforceScript for Enfusion engine, avoid pitfalls.

AuthorArmaOverthrow
Version1.0.0
Installs0

System Documentation

What problem does it solve?

EnforceScript, the scripting language for the Enfusion engine (Arma Reforger), has unique syntax, memory management, and networking paradigms. This Skill provides essential patterns and highlights common pitfalls, enabling developers to write robust, performant, and bug-free code more efficiently.

Core Features & Use Cases

  • Component Architecture: Implement Managers, Controllers, and general Components with correct lifecycle handling.
  • Network Replication: Master RplProp, RPC, and JIP for seamless client-server synchronization.
  • Persistence with EPF: Learn to save and load game state using the Enfusion Persistence Framework, including console platform considerations.
  • Memory Management: Understand strong references, garbage collection, and safe entity handling to prevent crashes.
  • Use Case: You're developing a multiplayer feature for Arma Reforger that requires player inventory to be synchronized across the network and saved between game sessions. Use this Skill to implement RplProp for simple item counts, RPC for complex inventory transfers, JIP for late-joiners, and EPF for saving the inventory state, all while avoiding common EnforceScript pitfalls.

Quick Start

Explain the correct way to handle network replication for an array of custom data objects in EnforceScript, including both JIP and runtime updates.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: enforcescript-patterns
Download link: https://github.com/ArmaOverthrow/Overthrow.Arma4/archive/main.zip#enforcescript-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository