Jump to content

Search the Community

Showing results for tags 'bis_fnc_relativedirto'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 1 result

  1. Hello there i'm having issues with BIS_fnc_relativeDirTo (the purpose is to create a boomerang system that will have a animated led 3d model in my HMMWV's like my crewduke) , my problem is that it is spamming some random 90, 180, 270 values... (maybe not random but i don't get why i got those values) here is a video (don't mind the generic error i've added a sleep in a unscheduled environment but the detection weirdly seems to work better (Probably just a placebo effect i think^^)) As you can see i have some random values coming in... Video showing my problem For now the script is init by a module (Will add action to add it and activate it later): /* sys_boomerang_animate.sqf Author(s): MrEwok Description: This Animate (for now) the boomerang system and run Boomerang script collection. Note : None. FilePath: \EWK_Boomerang_System\Scripts\sys_boomerang_animate.sqf */ _car = _this select 0; _car animate ["SYS_boomerang", 0]; ////////////////////////////////////////////For Boomerang System/////////////////////////////////////// [_car] execVM "\EWK_Boomerang_System\Scripts\Ewk_Boomerang_Eh.sqf"; waitUntil {!alive _car}; _car animate ["SYS_boomerang", 1]; [_car] execVM "EWK_Boomerang_System\Module\boomerang\sys_boomerang_animate.sqf"; And then it run this script : /* Ewk_Boomerang_Eh.sqf Author(s): MrEwok Description: This Apply FiredNearEH for Boomerang detection. Note : None. FilePath: \EWK_Boomerang_System\Scripts\Ewk_Boomerang_Eh.sqf */ ///////////////////////////////////////////For Boomerang System/////////////////////////////////////// /* this addEventHandler ["FiredNear", { params ["_unit", "_firer", "_distance", "_weapon", "_muzzle", "_mode" , "_ammo", "_gunner"]; }]; */ vclBoomerang = _this select 0; vclBoomerang addEventHandler ["FiredNear", { if ((_this select 2) < 100/*Need To Adjust*/) then { _Shooter = _this select 0; _gunner = _this select 7; hint str _gunner; { _relDir = [_Shooter, vclBoomerang] call BIS_fnc_relativeDirTo; if ( _relDir > (_x select 0) && _relDir < (_x select 1) ) then { sleep 0.5; // This is the Generic error in the video... systemChat format["Shooter is at %1 from the Vehicle",(_x select 2)]; systemChat str _relDir; }; }forEach [ ///////////////////////////////////////////This Was Working but not precise enough/////////////////////////////////////////// /* !!!Basic detection system decrepited!!! [45, 135, "to the right of"], [135, 225, "behind"], [225, 315, "to the left of"], [315, 360, "infront"], [0, 45, "infront"] */ ///////////////////////////////////////////This Was Working END/////////////////////////////////////////// [0, 15, "12 oclock"], [-0, -15, "12 oclock"], //0 = 12 donc 0 a 15 [15, 45, "1 oclock"], [-15, -45, "1 oclock"], //30 = 1 donc 15 a 45 [45, 75, "2 oclock"], [-45, -75, "2 oclock"], //60 = 2 donc 45 a 75 [75, 105, "3 oclock"], [-75, -105, "3 oclock"], //90 = 3 donc 75 a 105 [105, 135, "4 oclock"], [-105, -135, "4 oclock"], //120 = 4 donc 105 a 135 [135, 165, "5 oclock"], [-135, -165, "5 oclock"], //150 = 5 donc 135 a 165 [165, 195, "6 oclock"], [-165, -195, "6 oclock"], //180 = 6 donc 165 a 195 [195, 225, "7 oclock"], [-195, -225, "7 oclock"], //210 = 7 donc 195 a 225 [225, 255, "8 oclock"], [-225, -255, "8 oclock"], //240 = 8 donc 225 a 255 [255, 285, "9 oclock"], [-255, -285, "9 oclock"], //270 = 9 donc 255 a 285 [285, 315, "10 oclock"], [-285, -315, "10 oclock"], //300 = 10 donc 285 a 315 [315, 345, "11 oclock"], [-315, -345, "11 oclock"], //330 = 11 donc 315 a 345 [345, 360, "12 oclock"], [-345, -360, "12 oclock"] //360 = 12 donc 345 a 360 ]; }; }]; Please help me! I don't wan't to release my mod without that feature even if it's a little bit harsh (in fact i could already add the boomerang v2 and say "it's the V2 V3 is better ... but i wan't to add a real V3 and make an alternative version for V2 that's add some kind of randomness if some mission maker want to make it harder ). I can provide more info if needed (config or basic models with cfg and cpp to reproduce...)...
×