Results 1 to 7 of 7

Thread: Activate trigger by land only on dedi server

  1. #1

    Activate trigger by land only on dedi server

    I am trying to activate a trigger but only by land , as I do not want any AIR to activate the trigger, I have this in the condition but for some reason the when I run it on a Dedi server it does not work ? But it does when i host?

    Code:
    isServer AND "Land" counttype thislist > 0
    Any idea how I can get this to work on a dedi ?

  2. #2
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    Do you need the isServer in there? Vehicles become local when you drive them so that would be the expected effect. I tend to do something like this for detecting ground vehicles only:
    Code:
    {_x in thislist && _x isKindOf "landVehicle"} count thislist > 0

  3. #3
    Opps my mistake i just wanted to stop AIR activating triggers i need it to activate by men on the ground or any land vehicles
    Last edited by psvialli; Apr 26 2012 at 13:31.

  4. #4
    Then i guess setting an altitude limit to your trigger would do the trick.
    Something like
    Code:
    "this&&{(getPosATL _x select 2) < 5} foreach thislist"

  5. #5
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    Quote Originally Posted by BlackMamb View Post
    Then i guess setting an altitude limit to your trigger would do the trick.
    Something like
    Code:
    "this&&{(getPosATL _x select 2) < 5} foreach thislist"
    What happens if they land/get shot down/crash? Would that still work?

  6. #6
    Well, no, i f they'd land inside of your trigger radius, the trigger would be activated.

  7. #7
    Not trying to necro but my perdicament is the same issue but i need the trigger to only execute for the people who are in the trigger. I have tried everything in this thread so far to no avail.

    I have lots of triggers all over the map that need to only execute for the people inside a Land vehicle and only for though who are inside the trigger being executed on a dedicated server. I have tried allot of variations and its ended in failure every time. Anyone got some ideas on how to go about doing this?

    What i have tried so far

    Works as intended but works on anything inside the trigger
    Code:
    this && vehicle player in thislist
    Works for only those who enter it in a vehicle and on foot in local hosted but on dedicated server it behaves just like the first code. Local to those in the trigger but still executes on aircraft and on foot.
    Code:
    this && vehicle player in thislist && count (thislist unitsBelowHeight 10) > 0;
    Works for only land vehicles as intended but is global executed across all clients even when not in the trigger.
    Code:
    {_x iskindof "LandVehicle" and side _x == WEST} count thislist > 0;
    Last edited by Cytreen; Jan 22 2013 at 22:53.
    Education is favorable to liberty. Freedom can only exists in a society of knowledge. Without learning men are incapable of knowing there rights and ware learning is confined to a few people. Liberty can neither be equal nor universal.

Similar Threads

  1. Activate trigger when certain unit is in trigger area?
    By Acelondoner in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 13
    Last Post: Mar 30 2012, 23:51
  2. To Activate a trigger just only by me
    By bohemi in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 7
    Last Post: Apr 26 2011, 13:55
  3. Activate trigger?
    By Aodan in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 5
    Last Post: Feb 28 2010, 00:44
  4. Activate a trigger only when...
    By Skul in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 11
    Last Post: Apr 5 2003, 02:15
  5. How to activate trigger
    By eisa01 in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Oct 25 2002, 17:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •