Difference between revisions of "CMF3 Engine: XEH PREP"
Jump to navigation
Jump to search
(Created page with "The XEH_PREP.sqf scriptfile is absolutly vital in the function of a CMF3 framework component. It is used to declare and define the functions within t...") |
(No difference)
|
Latest revision as of 22:58, 17 December 2022
The XEH_PREP.sqf scriptfile is absolutly vital in the function of a CMF3 framework component. It is used to declare and define the functions within the component using PREP and IPREP MACROs. It is also responsible for including the script_component.hpp file.
A XEH_PREP file will always have an include for the script_component.hpp file at the top followed by the PREP and IPREP statements. it can look like the following (taken from the CMF3 common component):
#include "script_component.hpp"
PREP(getConfigParam);
PREP(setRole);
PREP(isRole);
PREP(setCallsign);