Jump to content

Search the Community

Showing results for tags 'setwaypointhouseposition'.



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. HI All, I cannot get the AI to move to the top level waypoints of a tower. The AI seems to stay on the ground level. How can I get the AI to move to each building position on the top floor? for example: player addAction ["<t color='#f44298' size='1' > BUILDING SEARCH</t>", { _posTestGrp = screenToWorld [0.5,0.5]; _building = "Land_Cargo_Tower_V1_No1_F" createVehicle _posTestGrp; sleep 1; _testgrp = createGroup WEST; _soldier = "B_Soldier_F"; _newUnit = _testgrp createUnit [_soldier, _posTestGrp , [], 0, "NONE"]; _buildingPositionsArray = [_building] call BIS_fnc_buildingPositions; _buildingPositionsCount = count _buildingPositionsArray; for "_i" from 10 to _buildingPositionsCount - 1 do { _wp = _testgrp addWaypoint [AGLToASL (_building buildingPos _i), 0]; //_wp waypointAttachObject _building; _wp setWaypointHousePosition _i; _testgrp setCurrentWaypoint _wp; //_wp setWaypointType "MOVE"; _arrow = createSimpleObject ["Sign_Arrow_F", AGLToASL (_building buildingPos _i)]; hint format ["moving to %1", getPosATL _arrow]; waitUntil { sleep 1; hint format ["%1m to %2", round (AGLToASL getPos _newUnit distance AGLToASL (_building buildingPos _i)), AGLToASL(_building buildingPos _i)]; ((AGLToASL getPos _newUnit distance AGLToASL(_building buildingPos _i)) < 2) }; sleep 3; deleteVehicle _arrow; }; },"",2]; I also tried without waypoints and used ATL player addAction ["<t color='#f44298' size='1' > BUILDING SEARCH</t>", { _posTestGrp = screenToWorld [0.5,0.5]; _building = "Land_Cargo_Tower_V1_No1_F" createVehicle _posTestGrp; // Land_Cargo_HQ_V1_F sleep 1; _testgrp = createGroup WEST; _soldier = "B_Soldier_F"; _newUnit = _testgrp createUnit [_soldier, _posTestGrp , [], 0, "NONE"]; _buildingPositionsArray = [_building] call BIS_fnc_buildingPositions; _buildingPositionsCount = count _buildingPositionsArray; for "_i" from 0 to _buildingPositionsCount - 1 do { _buildingPos = [(_building buildingPos _i) select 0, (_building buildingPos _i) select 1,((_building buildingPos _i) select 2) + 5] ; _arrow = "VR_3DSelector_01_default_F" createVehicle _buildingPos; _arrow setPosASL _buildingPos; sleep 0.1; /* _wp = _testgrp addWaypoint [[(getPosATL _arrow) select 0,(getPosATL _arrow) select 1, ((getPosATL _arrow) select 2) + 5], 0]; _wp waypointAttachObject _building; _wp setWaypointHousePosition _i; _testgrp setCurrentWaypoint _wp; _wp setWaypointType "MOVE"; */ _newUnit move getPosATL _arrow; waitUntil { sleep 1; hint format ["%1m to %2", round (_newUnit distance getPosATL _arrow), getPosATL _arrow]; (( _newUnit distance getPosATL _arrow) < 3) }; sleep 3; hint format ["I am here at %1", getPosATL _arrow]; deleteVehicle _arrow; }; },"",2]; But soldier does not climb up the stairs to get the first building waypoint!
×