Hotdognz Posted February 11, 2024 Posted February 11, 2024 HI guys I have a trigger set to destroy 70% of Butami when the mission starts and it works finer This mission runs on a server and the server pauses when some one leaves, next time they join the event does not work and all the buildings are rebuilt, how would I get this trigger to activate every time some one re joins the mission and it un-pauses Its set to Type: Once Time more 10 Action Scenery Destruction Zone I tried under Type to Mission Start and it didnt work
cfrag Posted February 14, 2024 Posted February 14, 2024 On 2/11/2024 at 9:20 AM, Hotdognz said: This mission runs on a server and the server pauses when some one leaves, next time they join the event does not work and all the buildings are rebuilt, I wasn't aware of this effect. Does that also happen in single-player if you pause the mission? On 2/11/2024 at 9:20 AM, Hotdognz said: how would I get this trigger to activate every time some one re joins the mission and it un-pauses If this is a multiplayer thing, you'd need to create a small server script (to install in the /Hooks directory) that alerts the mission that it was pause by setting a flag. The server script would subscribe to onSimulationResume and set a flag that that the mission reads The mission script would repeatedly read that flag, destroy the area, and reset the flag to await the next time that a resume happens and the server sets the flag. Hope this helps, -ch
Recommended Posts