Jump to content

Search the Community

Showing results for tags 'setwaypointstatements'.



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
    • 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

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 3 results

  1. Hey, I am trying to get this script from Igneous01 to work for my mission: Now I wanted to do this, which obviously didn't work: I googled alot and tried this: Which didn't work either.. I also tried idiotic stuff like grouping the _dragger with the _dummy and then executing it on the whole group but this messed up the waypoint completely and the _dummy wouldn't move at all. Does anyone have an idea how I can get this to work? Help would be much appreciated. I only want the _dragger to drag the _injured near an extraction chopper and then stop the animations. Next step would be healing the injured or even better loading him in the extraction chopper while he is still unconsious, but I did not get this far. This is for an Ace2 assassination mission and I am looking for testers if anyone is interested, please PM me. Many years and work already went into it and it is pretty much finished. Loading screen sneak peek: And yes, the objective is to kill Aziz ... or is it? Cheers clockx
  2. So, I've been trying to script some waypoints for some teams... The problem is, I'm trying to script a condition into the waypoint, so the unit will only move after the condition has been fulfilled... The units should only move after a unit called TriggerAttack is dead, so I though "EASY!, (!alive TriggerAttack) should do the trick..." This is what I scripted: _wp = _group_east_3 addWaypoint[[3920.5579, 4488.0127, 0], 0, 1]; [_group_east_3, 1] setWaypointBehaviour "UNCHANGED"; [_group_east_3, 1] setWaypointCombatMode "NO CHANGE"; [_group_east_3, 1] setWaypointCompletionRadius 0; [_group_east_3, 1] setWaypointFormation "NO CHANGE"; [_group_east_3, 1] setWaypointSpeed "UNCHANGED"; [_group_east_3, 1] setWaypointStatements[""!alive triggerAttack;"", ""]; Now... As some of you guys might know, it didn't work... This is what I'm getting in the .RPT file: Please... Help me... I'm going nuts and my wife is threatening to divorce me if I don't finish this thing and go to bed... Thanks a lot!
  3. I would like to access a variable with getVariable in setWaypointStatements. However, the variable name is dynamic, because I don't know how many variables there will be set. Referring to this post I came up with the following: params ["_group", "_pos", "_type", "_additionalStatements"]; private ["_wp", "_ref", "_refString"]; _wp = _group addWaypoint [_pos, 0]; _wp setWaypointType _type; // Make sure chopper lands on the spot _ref = "Land_HelipadCivil_F" createvehicle (_pos); // Save reference to Helipad on group leader _refString = "land_"+ str random [0, 5000, 10000]; _group setVariable [_refString, _ref, true]; hint format ["Reference to helipad: %1", _refString, _ref]; // Use reference on group leader to clean up Helipad after landing call compile format ["_wp setWaypointStatements [""true"", ""deleteVehicle ((group this) getVariable '%1'); %2""]", _refString, _additionalStatements]; (_wp) This works. But I have 2 objections: 1) It's not super-easy to read 2) Adding another format inside the statement (eg: `hint format ["%1", _someVar]` ) will break it. Does anyone know a better way? Thanks! **Edit: Actually objection #2 does work :rolleyes: . It was a different error I got... So basically the only thing that remains of the question is if it can be done neater. But hey, maybe I should just get used to it ;)
×