Jump to content

thereaper

Member
  • Content Count

    22
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About thereaper

  • Rank
    Private First Class
  1. Added tag = "Reaper"; to the class and used call Reaper_fnc_hit and now it works. So dumb.
  2. It returns [any] but I got functions.h class Reaper { class functions { file = "Functions"; class Hit {}; }; }; and description.ext class CfgFunctions { #include "Functions.h" }; I get no error at start and if I change the class Hit {} to class Hits {} it says: Script Functions\fn_Hits.sqf not found. I don't get that error with Hit, so it does find the script.
  3. Sorry I didn't include the fn_hit code. Here it is, it is based on Altis Life's life_fnc_handledamage. In altis life its also added using the handledamage EVH and call life_fnc_handledamage. So I wonder why it didn't work for me. _unit = _this select 0; _part = _this select 1; _damage = _this select 2; _source = _this select 3; _projectile = _this select 4; if(!isNull _source) then { if(_source != _unit) then { if (damage _unit != 0) then { [[(_this select 0), "AcinPercMstpSrasWrflDnon_agony"], "switchMove",true,false] call BIS_fnc_MP; } else { _damage = damage _unit; _randomizedDamage = random 0.5; _damage = _damage + _randomizedDamage; }; }; }; _damage But as I mentioned in the OP, I also tried setting everything in comments and just made this function call endmission, that didn't work either. And using -showscripterrors, I get nothing. Not a single error :\
  4. Hi, I'm trying to get a function working where the target will take damage at a reduced rate, and will go down at a certain damage threshold. I got in the init: this addEventHandler["handleDamage",{_this call fn_hit;}]; This didn't work at all, I placed everything of the function in comment and just made it call bis_fnc_endmission, and that didn't work either. I made a non-function version of the function as well, I got that working using: this addEventHandler["handleDamage",{_this execVM "Damage.sqf";}]; In the execVM script, instead of returning the damage, I am using setdamage to injure the target. The target however sometimes regains health because of how the eventhandler works (going through all the body parts individually). How can I make the call function work? And is there a better eventhandler for this or should the function where damage is returned instead of using setdamage fix this as well?
  5. thereaper

    NLMARSOF V2.185

    Hey looks great! I want to use the chinook on Takistan (a3mp) and I made a more tancolored texture but setobjecttexture commands don't work, just on some attachments on the side. Any way to fix this?
  6. Hey, I've used BTC Revive a lot of times, but I just can't get it to work on my ALIVE mission. Anything special needs to be done to get it working (not using multispawn, but I am using profile system, which I know interferes with vehicle respawn scripts if used incorrectly.)
  7. Hey, just tested it. I did get the lines of movement and such and combat reports. But no icons of those on the map and ofc any news on the web interface?
  8. Ah thanks, I'll just use an addaction.
  9. Hi, Found a few posts about this, but all were unanswered. I got radio alpha set to onact _handle = createdialog 'Reaper_teleport_dialog'; However, this works perfectly in singleplayer, so I added it to my clans training mission so we can easily get to firing ranges etc. But when 1 person calls radio alpha. Everyone will get the dialog. How can I use createdialog in a way that it doesn't create the dialog for every player? Thanks in advance.
  10. thereaper

    Scorch's Inventory Items

    Copied the @sc_items map to the serverroot and copied the keys from @sc_items/keys/ into serverroot/keys/. And enabled it in the startup parameters. Just like I did with every mod. In serverconfig I disabled the keys/mods check, since the server is passed and only for my clanmembers, and it works. But I prefer to have the server just checking for keys/mods.
  11. thereaper

    =BTC= Revive

    Got it working, I didn't set the loop check to 1 :)
  12. thereaper

    =BTC= Revive

    Hey, I'm trying to get the gear-saving to work on my mission, but when I respawn I get the same gear I spawned with instead of the gear I died with.
  13. thereaper

    Scorch's Inventory Items

    Hey, I placed this on my server. The @sc_items folder as well as copied the keys folder from /@sc_items/keys/ into /keys/. Added the @sc_items to -mod= parameter. Yet, when I try to join my server I get kicked off and get message Files "(...)@sc_items\addons\scorch_invitems.pbo" are not signed by a key accepted by this server. To play on this server, remove listed files or install additional accepted keys.
  14. thereaper

    =BTC= Logistic Script

    Sent a PM, thank you. :)
  15. thereaper

    =BTC= Logistic Script

    I take that as u didn't understand any of it? :P I want to use this on Insurgency When I did all the readme stuff and opened the mission in the editor I got an error about RscPictures. This was mentioned in the comments above and I removed it from description.ext After that I got an error about RscTitles. This was mentioned in the comments above as well and copied the content of class RscTitles to common/resources/titles.hpp (it conflicted with that) and removed it from =BTC=_Hud.h After that I got no more errors so I assumed it worked. My mission has no pilots so I set btc_lift_pilot = [] as described in the hints& tips, so every class can use the lifting script. I got in a CH-47, which is in the init to lift, but I tried hovering above everything in my base and I didn't get the option to lift.
×