OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting Multiplayer => Topic started by: YoMma on 20 Jun 2009, 17:14:48
-
I have established the time and score limit options in the Description.ext but I cannot for the life of me remember how to actually make the mission execute this?
Example, the default time limit is 20 minutes at mission select, but the mission doesn't actually end. Presumably I need a trigger that takes how long was specified and then activates but I have no clue on the syntax etc for this trigger so was wondering if someone can help me out so I can actually make my DM map end! :P
-
time > (20 * 60)
-
Alternative solution:
init.sqf
estimatedtimeleft param1;param1 is duration in seconds. You can either set it by yourself or get it from description.ext (http://community.bistudio.com/wiki/Description.ext#Multiplayer).
Condition of End1 trigger
serverTime > estimatedEndServerTime
Copied from BI Forum (http://forums.bistudio.com/showthread.php?p=1320042#post1320042).