jollyjack Posted April 29, 2024 Posted April 29, 2024 CZ you can only select allies, axis etc as set to working it seems. Is there a way to only activate them by a player coming near, and deactivating by also this player only??
Sketch Posted April 30, 2024 Posted April 30, 2024 In a multiplayer dogfight game, this is not possible because we don't know the unique id of any of the player planes. A caveat to this - if the player's planes are a different model than the ai planes, then you can use a Complex Trigger. CTX's track nation, vehicle type, and unique id in that order. No matter what, a Checkzone MCU will not work for unique planes in a mission, it must be a Complex Trigger. Because you can assign planes to players in multiplayer coop or single player missions, you will also be able to give each plane a unique id, and then through a Complex Trigger call that unique id to fire off any CTX event. This includes entering and exiting the CTX. 1
jollyjack Posted April 30, 2024 Author Posted April 30, 2024 Thanks. I always thought a Complex trigger was quite more CPU power hungry compared to a CZ? Reason for asking was i got a flight of plm 20 C47s, and one is the player. Wanted to reduce active Linked Entities via a CZ (or proximity) when not in range. May be make a Li2 the player LoL. I will try with a Complex trigger, but am afraid of using too many of them.
Sketch Posted April 30, 2024 Posted April 30, 2024 You can keep CTX's off until needed using a Checkzone. Something like: CZ (for all planes) -> activate CTX -> CTX compares to see if plane is a unique id... -> If true -> event fires (onEnter or onExit) -> deactivate CTX -> If false -> wait 5seconds -> deactivate CTX 1
jollyjack Posted April 30, 2024 Author Posted April 30, 2024 Hi Sketch. Been experimenting by trying figure it out, but can you maybe specify a little more how to set this up? Especially how to deactivate the 'CTX'.
IckyATLAS Posted May 1, 2024 Posted May 1, 2024 20 hours ago, jollyjack said: Hi Sketch. Been experimenting by trying figure it out, but can you maybe specify a little more how to set this up? Especially how to deactivate the 'CTX'. Use the MCU Activate and Deactivate to switch on/off vehicles, trains, planes, or MCU's etc. Behavior may vary. A CZ is active but not operational at start. First you have to Trigger it, then it will work as parametered. But after that you can deactivate it when needed using an MCU Deactivate. To have it working again in this case you will need to use the MCU Activate. Same for a CTX that you can also activate or deactivate. But in case of the CTX you can choose at start if it will be active or not (check or uncheck the Enabled checkbox in the Advanced Properties menu). This you cannot do with CZ. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now