Squiggs Posted June 23, 2024 Posted June 23, 2024 (edited) I am trying to use "time more" to trigger an event 30 seconds after the mission starts. My setup is ( Trigger1: Mission Start Condition: Time More (30) Event: Message to all ("Event triggered") But I never get the message. If I leave out the Time More condition I get the message. Also is Time More the absolute time from when the mission starts? For example if I want to check that the player has landed a helicopter I am using: Conditions: Unit in zone AGL less than 20 Speed less than 5 But I also want to make sure the player sits there for 30 seconds to let the troops "disembark". Can I use Time More for this or should I be using something else? Edited June 23, 2024 by Squiggs
Kanelbolle Posted June 23, 2024 Posted June 23, 2024 (edited) 2 hours ago, Squiggs said: I am trying to use "time more" to trigger an event 30 seconds after the mission starts. My setup is ( Trigger1: Mission Start Condition: Time More (30) Event: Message to all ("Event triggered") But I never get the message. If I leave out the Time More condition I get the message. Also is Time More the absolute time from when the mission starts? For example if I want to check that the player has landed a helicopter I am using: Conditions: Unit in zone AGL less than 20 Speed less than 5 But I also want to make sure the player sits there for 30 seconds to let the troops "disembark". Can I use Time More for this or should I be using something else? Hi! Mission start happens on mission start, it can not be combined with "time more". Something can't happen on mission start AND time more 30, they contradict each other. Use : Trigger1: Once Condition: Time More (30) Event: Message to all ("Event triggered") On the second part: If you want to check if the player has been within the condition you set, you can set a flag with action "FLAG ON", and check how long since it was set with Condition "TIME SINCE FLAG". Hope this helps Edited June 23, 2024 by Kanelbolle WARGAMES Servers: https://forum.dcs.world/topic/301046-wargames-server-pvp-and-pve-campaign-servers/ Scripts: RGC & SPGG https://github.com/AGluttonForPunishment/
Squiggs Posted June 23, 2024 Author Posted June 23, 2024 3 hours ago, Kanelbolle said: Hi! Mission start happens on mission start, it can not be combined with "time more". Something can't happen on mission start AND time more 30, they contradict each other. Use : Trigger1: Once Condition: Time More (30) Event: Message to all ("Event triggered") On the second part: If you want to check if the player has been within the condition you set, you can set a flag with action "FLAG ON", and check how long since it was set with Condition "TIME SINCE FLAG". Hope this helps That makes sense for the first bit. That makes sense. I can expand it to having a hover too by setting the FLAG ON when the hover conditions are met, then doing time since flag AND the same conditions on another trigger to check that after the 30 seconds the player is still hovering. I mean technically the player could fly off and return to the hover condition within the 30 seconds and the trigger would still succeed, but that is someone deliberately trying to break the trigger.
Recommended Posts