Jump to content

ZEENEN

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Posts posted by ZEENEN


  1. You do not need to put the ==true for a boolean test. The variable, or in this case isServer, is the test.

    E.g.

    Isserver is the same as a check for is true or false

    !Isserver is the same as not true or not false.

    You are also trying to compare a boolean to a string which is why that didn't work.

    Use -showscripterrors parameter in your arma startup you will have seen this is where your attempt failed.

    Try

    if (buildtype isEqualTo 6 && isServer) then....{}

     

    Thanks man you helped alot! got it working!!

     

    to make only host place structures added in do_build.sqf:

     

    if (buildtype isEqualTo 6 && !isServer) then {build_invalid = 1};
     
    EDIT: no one can't build FOB now, will update when solved

  2. Trying to restrict structures building to host/commander only,

     

    want to make simple way like check player uid / isServer

     

    tried in "do_build.sqf" changing 

     

    if (buildtype == 6 )

     

    to 

    if (buildtype == 6 && isServer == "True" ) it brakes building completely

     

    also to 

    if (buildtype == 6 && GetPlayerUID == "myid" ) same result

     

    please advice


  3. I guess you could just place the blue landing lights (which you can definitely recycle) in a square formation around an area and call it a helipad. I suspect is has to do with the ground transformation that occurs when you place a helipad. It removes the vegetation on the ground and perhaps that is permanent?

    maybe because helipad classed as "sign" and not an "object" so it behaves differently


  4. Looks like I was mistaken. I tried both the square and round helipads both as a squad leader and Commander, could not recycle. Guess it's not possible after all.

    Thanks for confirming this, wasted hours on this.

     

    It's never been an issue really but it can be annoying when you want that perfect-OCD FOB haha, can anyone think of a workaround whilst we're on the subject?:L

    Yes I have building OCD :)) many times I restart mission just cause something not build as I want...

     

    In Liberation tanoa posted here I fount that "Military Tower" cant be recycled but when I blow it up and restart mission it will be gone.

×