Jump to content

tonic-_-

Member
  • Content Count

    726
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

53 Excellent

About tonic-_-

  • Rank
    Master Sergeant

Profile Information

  • Gender
    Not Telling

Contact Methods

  • Twitter
    Tonicxvs
  • Youtube
    zTonicz
  • PlayStation PSN
    Tonic-_-
  • Twitch.Tv
    Tonicxvs

Recent Profile Visitors

3929 profile views
  1. Please don't ask me for my permission to do whatever you want with whatever I have created, I really don't care. You want to upload it to steam workshop, go ahead and do it, want to include it in a community pack? full send, want to maintain? Knock yourself out. I dropped out of the arma scene a very long time ago and I really don't care what is done with my stuff, I don't even care if I am credited, just do what you want. I am just putting this here for the few that respect the creative work of others, I don't want to waste your time of being considerate and asking because odds are I will never see it or respond. I randomly remembered that ARMA existed and figured this was appropriate.

     

    JbBufj8.png

  2. The scripted version is fine as is, the changes for the addon version were needed just because it is an addon and will initialize without even loading into a traditional mission.
  3. Update: v1.7 Change log: Changed: Will no longer run on a client with no interface (Server/Headless Client), useful if included in mod packs for performance reasons. Fixed: Error being thrown about undefined variable in certain circumstances. Download: http://tonic.pw/files/arma/TAW-View-Distance-Addon-v17.zip https://drive.google.com/open?id=1PYWpwuCnFyGAZopQYP_gkoS0XMnIvKv7 If downloaded via my site, your browser might say the file may be dangerous, obviously it's not and I don't know why some browsers are doing that. As usual please report any issues, each version gets limited testing to make sure it is in working order but I can't foresee every situation.
  4. Hi late response, Is it only on Clafghan? I don't see how a map can cause that error to spit out, is it all the time? Usually that error is only going to occur if loaded on the server or if the object player is null (i.e no player detected). I will add more checks in to prevent this. Transitioning from script to addon is weird so I forgot about some things.
  5. tonic-_-

    TAW View Distance Script

    Uh you'd have to use the earlier version of the FSM, that or call TAWVD_fnc_openMenu with an addAction.
  6. Update: v2.95 Change log: Changed: UI ihas been made larger. Changed: Transfer Loadout has been shifted from BIS_fnc_MP to remoteExec. Changed: General code optimizations. Added: "Remove All" button now hides when not on Items or Magazines tab to avoid confusion on what it does. Added: Main interface now refreshes when closing out of the Load Manager window VAS Preloader pbo included, seems it was lost to time when others started submitting updates. Thanks to m0nkey on armaholic for updating it at one point in time to be functional and anyone else that has contributed towards it in my absence. [EDIT 3/1/2022] Late but whatever, was digging through old projects and cleaning stuff out and noticed that 2.95 was distributed with bare-bones stringtable localizations, I have no idea how that happened and judging by comments from the past it was something over looked when it was 'updated' by 3rd-parties and I blindly included all their changes. I have pushed the original stringtable localization to my Github. This fiile was never updated since my last release way way back so it should work with any version of VAS, you can find it here: https://github.com/Tonnilson/Virtual-Ammobox-System/blob/master/VAS.Stratis/stringtable.xml Download: https://github.com/Tonnilson/Virtual-Ammobox-System/releases/download/2.95/VAS_v295.Stratis.zip I have recreated the Github repo for VAS since it was deleted a long time ago when my account was hacked. https://github.com/Tonnilson/Virtual-Ammobox-System If there are any errors let me know, it's been about 4 years since I have touched ARMA and I was completely lost at my own work, probably end up making the next version from scratch.
  7. tonic-_-

    TAW View Distance Script

    Just put tawvd_foot = 1600; tawvd_car = 1600; tawvd_air = 1600; tawvd_drone = 1600; tawvd_object = tawvd_foot; into the init.sqf in your mission folder.
  8. tonic-_-

    TAW View Distance Script

    Uhh it seems the way I set it up before was by taking the initial viewDistance and saving it into the profile namespace (can't remember why) which is why that value is so high but in short just fill these variables: tawvd_foot = 1600; tawvd_car = 1600; tawvd_air = 1600; tawvd_drone = 1600; tawvd_object = tawvd_foot; If you want to reset the variables in the profileNamespace profileNamespace setVariable ["tawvd_foot",nil]; profileNamespace setVariable ["tawvd_car",nil]; profileNamespace setVariable ["tawvd_air",nil]; profileNamespace setVariable ["tawvd_drone",nil]; profileNamespace setVariable ["tawvd_object",nil]; I will probably change this in the future because I have no idea why I did it like that years ago.
  9. tonic-_-

    TAW View Distance Script

    Again, not dead. Update: v1.6 Change log: Fixed: Save manager was not working (typo that took 4 years to fix PogChamp) Added: Ground slider now controls both land and sea vehicles. Added: ACE3 Integration now in scripted version, can be accessed via self interaction menu as View Distance Settings Download: https://drive.google.com/open?id=1qv1GQ2DtobdnDZGtDjGQxkpFjSJItwud
  10. Oh.. Hello there... been awhile.. Update: v1.6 Change log: Fixed: Save manager was not working (typo that took 4 years to fix PogChamp) Added: Ground slider now controls both land and sea vehicles. Changed: Better ACE integration Download: https://drive.google.com/open?id=1EtNAwUkZegW8EanSxh3F075EYiGcj0yL obviously new server key so yeah be sure to update that.
  11. I will just leave this here as written consent but everyone is free to do as they please with this and modify, update, repost etc etc. I have long quit arma and left a long time ago.
  12. tonic-_-

    Warning to all life mod players out there!

    I agree with this 100% <_<
  13. stringtable.xml is the file included with the download. It needs to be placed in the main directory of the mission where init.sqf and /vas/ are located, without it you won't see text as that is the localization file. If you already have a pre-existing stringtable.xml that is not related to VAS then you'll have to merge the two together.
  14. tonic-_-

    Locking Building Doors?

    private _building = cursorObject; private _numberofdoors = getNumber(configFile >> "CfgVehicles" >> (typeOf _building) >> "numberOfDoors"); if(_numberofdoors == -1 OR _numberofdoors == 0) exitWith {}; //No entry (Not a compatible building) for "_i" from 1 to _numberOfDoors do { _building animate[format["door_%1_rot",_i],0]; _building setVariable[format["bis_disabled_Door_%1",_i],1,true]; }; This will lock all doors of the current building you look at, gives you an idea of how to do it. Locking doors only works for A3 vanillia buildings and not ports like Zargabad, Takistan or 3rd party maps that do not have the proper config entries. To make the old maps like Zargabad and Takistan be able to have lockable doors you'll have to create a separate addon with this as the config.cpp: class CfgPatches { class a3mp_houseFixes { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"CAStructures_E_houseA"}; }; }; class CfgVehicles { class House; class House_EP1: House { class DestructionEffects; }; class Land_House_K_3_EP1: House_EP1 { numberOfDoors = 3; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1]"; }; class OpenDoors3: OpenDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" >= 0.5 AND (this getVariable[""bis_disabled_Door_3"",0]) == 0"; statement = "this animate [""Dvere3"", 0]"; }; class CloseDoors3: CloseDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" < 0.5"; statement = "this animate [""Dvere3"", 1]"; }; }; }; class Land_House_K_7_EP1: House_EP1 { numberOfDoors = 4; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1]"; }; class OpenDoors3: OpenDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" >= 0.5 AND (this getVariable[""bis_disabled_Door_3"",0]) == 0"; statement = "this animate [""Dvere3"", 0]"; }; class CloseDoors3: CloseDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" < 0.5"; statement = "this animate [""Dvere3"", 1]"; }; class OpenDoors4: OpenDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" >= 0.5 AND (this getVariable[""bis_disabled_Door_4"",0]) == 0"; statement = "this animate [""Dvere4"", 0]"; }; class CloseDoors4: CloseDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" < 0.5"; statement = "this animate [""Dvere4"", 1]"; }; }; }; class Land_House_C_10_EP1: House_EP1 { numberOfDoors = 8; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1]"; }; class OpenDoors3: OpenDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" >= 0.5 AND (this getVariable[""bis_disabled_Door_3"",0]) == 0"; statement = "this animate [""Dvere3"", 0]"; }; class CloseDoors3: CloseDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" < 0.5"; statement = "this animate [""Dvere3"", 1]"; }; class OpenDoors4: OpenDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" >= 0.5 AND (this getVariable[""bis_disabled_Door_4"",0]) == 0"; statement = "this animate [""Dvere4"", 0]"; }; class CloseDoors4: CloseDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" < 0.5"; statement = "this animate [""Dvere4"", 1]"; }; class OpenDoors5: OpenDoors1 { position = "osa Door_5"; condition = "this animationPhase ""Dvere5"" >= 0.5 AND (this getVariable[""bis_disabled_Door_5"",0]) == 0"; statement = "this animate [""Dvere5"", 0]"; }; class CloseDoors5: CloseDoors1 { position = "osa Door_5"; condition = "this animationPhase ""Dvere5"" < 0.5"; statement = "this animate [""Dvere5"", 1]"; }; class OpenDoors6: OpenDoors1 { position = "osa Door_6"; condition = "this animationPhase ""Dvere6"" >= 0.5 AND (this getVariable[""bis_disabled_Door_6"",0]) == 0"; statement = "this animate [""Dvere6"", 0]"; }; class CloseDoors6: CloseDoors1 { position = "osa Door_6"; condition = "this animationPhase ""Dvere6"" < 0.5"; statement = "this animate [""Dvere6"", 1]"; }; class OpenDoors7: OpenDoors1 { position = "osa Door_7"; condition = "this animationPhase ""Dvere7"" >= 0.5 AND (this getVariable[""bis_disabled_Door_7"",0]) == 0"; statement = "this animate [""Dvere7"", 0]"; }; class CloseDoors7: CloseDoors1 { position = "osa Door_7"; condition = "this animationPhase ""Dvere7"" < 0.5"; statement = "this animate [""Dvere7"", 1]"; }; class OpenDoors8: OpenDoors1 { position = "osa Door_8"; condition = "this animationPhase ""Dvere8"" >= 0.5 AND (this getVariable[""bis_disabled_Door_8"",0]) == 0"; statement = "this animate [""Dvere8"", 0]"; }; class CloseDoors8: CloseDoors1 { position = "osa Door_8"; condition = "this animationPhase ""Dvere8"" < 0.5"; statement = "this animate [""Dvere8"", 1]"; }; }; }; class Land_House_K_1_EP1: House_EP1 { numberOfDoors = 1; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; }; }; class Land_Wall_L3_gate_EP1: House_EP1 { numberOfDoors = 2; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 1];this animate [""Dvere2"", 1]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5"; statement = "this animate [""Dvere1"", 0];this animate [""Dvere2"", 0]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 1];this animate [""Dvere1"", 1]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5"; statement = "this animate [""Dvere2"", 0];this animate [""Dvere1"", 0]"; }; }; }; class Land_House_L_6_EP1: House_EP1 { numberOfDoors = 1; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; }; }; class Land_House_C_5_V3_EP1: House_EP1 { numberOfDoors = 2; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0];this animate [""Dvere3"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1];this animate [""Dvere3"", 1]"; }; }; }; class Land_House_L_3_EP1: House_EP1 { numberOfDoors = 2; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0];this animate [""Dvere3"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1];this animate [""Dvere3"", 1]"; }; }; }; class Land_A_Villa_EP1: House_EP1 { numberOfDoors = 12; class UserActions { class OpenDoors1 { displayNameDefault = "$STR_DN_OUT_O_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_O_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" >= 0.5 AND (this getVariable[""bis_disabled_Door_1"",0]) == 0"; statement = "this animate [""Dvere1"", 0]"; }; class CloseDoors1 { displayNameDefault = "$STR_DN_OUT_C_DOOR_DEFAULT"; displayName = "$STR_DN_OUT_C_DOOR"; position = "osa Door_1"; radius = 2; onlyForPlayer = 0; condition = "this animationPhase ""Dvere1"" < 0.5"; statement = "this animate [""Dvere1"", 1]"; }; class OpenDoors2: OpenDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" >= 0.5 AND (this getVariable[""bis_disabled_Door_2"",0]) == 0"; statement = "this animate [""Dvere2"", 0]"; }; class CloseDoors2: CloseDoors1 { position = "osa Door_2"; condition = "this animationPhase ""Dvere2"" < 0.5"; statement = "this animate [""Dvere2"", 1]"; }; class OpenDoors3: OpenDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" >= 0.5 AND (this getVariable[""bis_disabled_Door_3"",0]) == 0"; statement = "this animate [""Dvere3"", 0]"; }; class CloseDoors3: CloseDoors1 { position = "osa Door_3"; condition = "this animationPhase ""Dvere3"" < 0.5"; statement = "this animate [""Dvere3"", 1]"; }; class OpenDoors4: OpenDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" >= 0.5 AND (this getVariable[""bis_disabled_Door_4"",0]) == 0"; statement = "this animate [""Dvere4"", 0]"; }; class CloseDoors4: CloseDoors1 { position = "osa Door_4"; condition = "this animationPhase ""Dvere4"" < 0.5"; statement = "this animate [""Dvere4"", 1]"; }; class OpenDoors5: OpenDoors1 { position = "osa Door_5"; condition = "this animationPhase ""Dvere5"" >= 0.5 AND (this getVariable[""bis_disabled_Door_5"",0]) == 0"; statement = "this animate [""Dvere5"", 0]"; }; class CloseDoors5: CloseDoors1 { position = "osa Door_5"; condition = "this animationPhase ""Dvere5"" < 0.5"; statement = "this animate [""Dvere5"", 1]"; }; class OpenDoors6: OpenDoors1 { position = "osa Door_6"; condition = "this animationPhase ""Dvere6"" >= 0.5 AND (this getVariable[""bis_disabled_Door_6"",0]) == 0"; statement = "this animate [""Dvere6"", 0]"; }; class CloseDoors6: CloseDoors1 { position = "osa Door_6"; condition = "this animationPhase ""Dvere6"" < 0.5"; statement = "this animate [""Dvere6"", 1]"; }; class OpenDoors7: OpenDoors1 { position = "osa Door_7"; condition = "this animationPhase ""Dvere7"" >= 0.5 AND (this getVariable[""bis_disabled_Door_7"",0]) == 0"; statement = "this animate [""Dvere7"", 0]"; }; class CloseDoors7: CloseDoors1 { position = "osa Door_7"; condition = "this animationPhase ""Dvere7"" < 0.5"; statement = "this animate [""Dvere7"", 1]"; }; class OpenDoors8: OpenDoors1 { position = "osa Door_8"; condition = "this animationPhase ""Dvere8"" >= 0.5 AND (this getVariable[""bis_disabled_Door_8"",0]) == 0"; statement = "this animate [""Dvere8"", 0]"; }; class CloseDoors8: CloseDoors1 { position = "osa Door_8"; condition = "this animationPhase ""Dvere8"" < 0.5"; statement = "this animate [""Dvere8"", 1]"; }; class OpenDoors9: OpenDoors1 { position = "osa Door_9"; condition = "this animationPhase ""Dvere9"" >= 0.5 AND (this getVariable[""bis_disabled_Door_9"",0]) == 0"; statement = "this animate [""Dvere9"", 0]"; }; class CloseDoors9: CloseDoors1 { position = "osa Door_9"; condition = "this animationPhase ""Dvere9"" < 0.5"; statement = "this animate [""Dvere9"", 1]"; }; class OpenDoors10: OpenDoors1 { position = "osa Door_10"; condition = "this animationPhase ""Dvere10"" >= 0.5 AND (this getVariable[""bis_disabled_Door_10"",0]) == 0"; statement = "this animate [""Dvere10"", 0]"; }; class CloseDoors10: CloseDoors1 { position = "osa Door_10"; condition = "this animationPhase ""Dvere10"" < 0.5"; statement = "this animate [""Dvere10"", 1]"; }; class OpenDoors11: OpenDoors1 { position = "osa Door_11"; condition = "this animationPhase ""Dvere11"" >= 0.5 AND (this getVariable[""bis_disabled_Door_11"",0]) == 0"; statement = "this animate [""Dvere11"", 0]"; }; class CloseDoors11: CloseDoors1 { position = "osa Door_11"; condition = "this animationPhase ""Dvere11"" < 0.5"; statement = "this animate [""Dvere11"", 1]"; }; class OpenDoors12: OpenDoors1 { position = "osa Door_12"; condition = "this animationPhase ""Dvere12"" >= 0.5 AND (this getVariable[""bis_disabled_Door_12"",0]) == 0"; statement = "this animate [""Dvere12"", 0]"; }; class CloseDoors12: CloseDoors1 { position = "osa Door_12"; condition = "this animationPhase ""Dvere12"" < 0.5"; statement = "this animate [""Dvere12"", 1]"; }; }; }; }; If the map you are wanting to do this with does not use A3 buildings or A2 buildings (with this above applied) then you'll have to submit the text above to the map author to have them adjust the door actions to be similar to the code above. I sent this code into the person that worked on A3MP and then Kju that did AllInArma and no one ever implemented it so meh.
  15. If you want / need to strip " from a players name you can still utilize mresString.sqf as that was designed to strip out unwanted characters like " to make it SQL friendly and obviously also preventing SQL injections from a string which is only used for player names in life code or any string that can be manipulated by the client. mresArray.sqf and mresToArray.sqf was used for making arrays safe to be injected into the database, with extDB2 its a pointless piece of functionality, functionality that was originally made for arma2MySQL as it did not play nice with SQF formatted arrays, it only exists now as compatibility with older databases. Just a tid bit of information about why those functions exist, useless now a days but hey, the more you know am I right?
×