Skip to content

Commit 65c39ff

Browse files
committed
Update xm157-framework.md
1 parent 0bde05c commit 65c39ff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/wiki/framework/xm157-framework.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ version:
1414

1515
## 1. Config Values
1616

17+
### 1.1 Scope config
1718

1819
```cpp
1920
class CfgWeapons {
@@ -52,4 +53,15 @@ class CfgWeapons {
5253
};
5354
};
5455
};
56+
57+
```
58+
### 1.2 Ammo Config
59+
Shells can be set to airburst based on lased distance
60+
61+
```cpp
62+
class myAmmo: G_40mm_HE {
63+
class Eventhandlers {
64+
fired = QUOTE(call ace_xm157_fnc_airburst_ammoFired);
65+
};
66+
};
5567
```

0 commit comments

Comments
 (0)