0
我有以下結構如何在SQF中的子文件夾文件中包含標題?
在script3.sqf
一個任務,我可以使用#include "macros.hpp"
。但是,我不能在script1.sqf
中做同樣的事情,因爲它會導致遊戲崩潰。有任何想法嗎?
我有以下結構如何在SQF中的子文件夾文件中包含標題?
在script3.sqf
一個任務,我可以使用#include "macros.hpp"
。但是,我不能在script1.sqf
中做同樣的事情,因爲它會導致遊戲崩潰。有任何想法嗎?
在radio/script1.sqf
,您可以在第4節, 「#包括」 「macros.hpp」 使用
#include "../macros.hpp"
這是報道this PDF。
他們使用其他斜槓\
,但我測試了在arma 3 /
的作品。
請注意,如果你添加
#include "../macros.hpp"
到script3.sqf
,遊戲會崩潰,錯誤消息是你所期望的。具體而言,它可以是radio/macros.hpp
未找到。