OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Garcia on 02 Mar 2004, 00:50:01
-
In a mission I got 2 params...and if Param2 = 2, I want some tanks to not be in game, but they won't go away. I've tried to write "Param2 == 1" in the Condition of presence field in the tanks ,that I want to be gone, box. Also tried <=, =, >=, but none works. Even made a script where I deleted them, and wrote in the init.sqs ? (param2 == 2) : [] exec "deltank.sqs", but it didn't work either...I have no idea why this won't work. The tank I want to be gone if Param2 = 1, they are gone. It's only the ones that should disapper if param2 = 2 that won't...
Garcia
-
Maybe your problem involves the use of a local variable where you need a global variable? It is hard to say without looking at the whole situation.
-
well, I managed to find a solution, though, I haven't found the cause of this rather strange problem, but I worked around it and found another solution to make the mission work :)
Garcia