Page MenuHomeFeedback Tracker

Make a more usable preprocessor
Reviewed, WishlistPublic

Description

Missing things from A2 that would be nice in A3:
1/ Predefined #define are missing. ISSERVER and ISDEDICATED should be already defined in the preprocessor.
2/ Admins should be able to define #define in the command line. For example: arma3.exe -server -cfg=... -config=... -world=Stratis -DMYSECRET=23423423
3/ Scripters should be able to use #include #define and macros in FSM
4/ As soon as a hpp file is missing, arma engine crashes. A warning should be logged, but the engine should keep on loading the script without the missing files.
5/ __EVAL preprocessor command should be available in sqf scripts.

Details

Legacy ID
329950063
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request

Event Timeline

facoptere edited Additional Information. (Show Details)
facoptere set Category to Feature Request.
facoptere set Reproducibility to N/A.
facoptere set Severity to None.
facoptere set Resolution to Open.
facoptere set Legacy ID to 329950063.May 7 2016, 3:10 PM
dedmen added a subscriber: dedmen.EditedSep 13 2017, 2:18 PM

ISSERVER and ISDEDICATED can't work because scripts can be preprocessed before you join/create any server or start any mission.
__EVAL should be available in SQF scripts?! Why? __EVAL literally executes an SQF script. You can do the same from inside SQF by using . Right. Nothing.