OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Surdus Priest on 30 Sep 2007, 15:14:36

Title: creation options in your action menu
Post by: Surdus Priest on 30 Sep 2007, 15:14:36
i want to make an optional action which appears at a certain time in your little action menu, can someone tell me how please?

surdus
Title: Re: creation options in your action menu
Post by: Spooner on 30 Sep 2007, 16:07:01
Code: (SQF) [Select]
sleep 120; // 2 minutes into the mission.
player addAction ["Break Wind", "breakWind.sqf"];

Or by "time" did you mean at 2:30 pm?
Title: Re: creation options in your action menu
Post by: Surdus Priest on 01 Oct 2007, 02:30:01
its ok, the addaction is more than enough :D thank you