thereaper
Member-
Content Count
22 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout thereaper
-
Rank
Private First Class
-
Function not being called by eventhandler
thereaper replied to thereaper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Added tag = "Reaper"; to the class and used call Reaper_fnc_hit and now it works. So dumb. -
Function not being called by eventhandler
thereaper replied to thereaper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
Function not being called by eventhandler
thereaper replied to thereaper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 :\ -
Function not being called by eventhandler
thereaper posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
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? -
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?
- 302 replies
-
- Netherlands Maritime Special
- Infantry
-
(and 3 more)
Tagged with:
-
ALiVE - Advanced Light Infantry Virtual Environment
thereaper replied to wolffy.au's topic in ARMA 3 - ADDONS & MODS: COMPLETE
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.) -
Automated After Action Report Generator
thereaper replied to Axek/Axyl's topic in ARMA 3 - ADDONS & MODS: COMPLETE
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? -
Createdialog in multiplayer environment
thereaper replied to thereaper's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ah thanks, I'll just use an addaction. -
Createdialog in multiplayer environment
thereaper posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
Scorch's Inventory Items
thereaper replied to scorch_052's topic in ARMA 3 - ADDONS & MODS: COMPLETE
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. -
Got it working, I didn't set the loop check to 1 :)
-
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.
-
Scorch's Inventory Items
thereaper replied to scorch_052's topic in ARMA 3 - ADDONS & MODS: COMPLETE
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. -
=BTC= Logistic Script
thereaper replied to giallustio's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Sent a PM, thank you. :) -
=BTC= Logistic Script
thereaper replied to giallustio's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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.