ACE3/docs/wiki/framework/fire-framework.md
2024-02-05 13:17:33 +01:00

1.1 KiB

layout title description group order parent mod version
wiki Fire Framework Explains how to ignite thing using CBA events. framework 5 wiki ace
major minor patch
3 14 0

1. Events

Use CBA_fnc_serverEvent to use the following features. Events are defined only on the server in the system.

1.1 Adding a new fire source

ace_fire_addFireSource

Arguments Type Optional (default value)
0 Source of flame Object/Position ASL Required
1 Radius of fire Number Required
2 Intensity of fire (1, 10] Number Required
3 Fire source ID Array/Boolean/Code/Config/Group/Namespace/NaN/Number/Object/Side/String Required
4 Condition to stop fire Code Optional (default: {true})
5 Arguments to pass to condition Any Optional (default: [])

1.2 Removing fire source

ace_fire_removeFireSource

Arguments Type Optional (default value)
0 Fire source ID Array/Boolean/Code/Config/Group/Namespace/NaN/Number/Object/Side/String Required