Skip to content
User Avatar
#603
Auto-translated
I would like to know why this piece of script is not working. It seems like I did everything correctly... ``` function ask1 () MessageBox ("/Maps/SingleMissions/Illusion Castle/ask1F.txt"); then QuestionBox ("/Maps/SingleMissions/Illusion Castle/ask1.txt", 'yes', 'no'); end; function yes () SetObjectiveState('obj_5', OBJECTIVE_ACTIVE); SetObjectiveVisible( 'obj_5', true, PLAYER_1 ); Trigger(OBJECT_TOUCH_TRIGGER, "hat", nil); end; Trigger(OBJECT_TOUCH_TRIGGER, "hat" "ask1" );
Создаётся карта "Забытый Авангард (готовность 80%)