Skip to content

Commit

Permalink
Merge pull request #64 from expung3d/dev
Browse files Browse the repository at this point in the history
Update to V2.1.5
  • Loading branch information
expung3d authored Dec 12, 2024
2 parents eacb5be + 42fbb33 commit c451dd8
Show file tree
Hide file tree
Showing 2 changed files with 1,656 additions and 2,003 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Adding the function is very simple. Simply define the function you want to call
Make sure that when you're creating a function that you use a unique prefix! The format to follow would be `TAG_MAZ_EZM_fnc_`. TAG is replaced with your own function tag, our function will simply be called `MAZ_EZM_fnc_helloWorld`.
```sqf
MAZ_EZM_fnc_helloWorld = {
params ["_entity"]; //This entity will always be passed into a function called via EZM.
params ["_entity","_position"]; //This entity will always be passed into a function called via EZM.
//The _entity represents whatever the module is placed onto, a vehicle, a player, etc.
//The _position represents the mouse position. It includes intersects so the position is AGL and where you clicked on a building.
systemChat format ["Hello World! %1", typeOf _entity];
//This will systemChat "Hello World!" and the type of the entity we placed the module onto.
Expand Down
Loading

0 comments on commit c451dd8

Please sign in to comment.