Jump to content

crazy_usmc

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Everything posted by crazy_usmc

  1. hey guy I need a little help. I'm not that great at scripting but I could use some help with this. I'm creating a mission where a fire team is HELOed in to rescue a BLUEFOR pilot. I have guards set up around the pow and I don't want them to kill the pow soon as the mission starts. I've been using this as an example to go by: http://www.kylania.com/ex/?p=11 but I've noticed that if the POWs are BLUEFOR then it doesn't work. any suggestions? this is how I have it set up: r1-fireteam leader (me) int field: POW= [p1] POW: p1 (name of pow) int field: this addAction ["Rescue POWs","rescuePows.sqf",[POWS],1,false,true,"","(_target distance _this) < 3"]; removeallweapons this; this disableai "MOVE"; this setbehaviour "CARELESS"; this setcaptive true; then I have a trigger activated by BLUEFOR and type set to switch and in the on act field I have this: p1 enableAI "MOVE"; here's the sqf code I'm using: _per = _this select 0; // Person who had the addAction _ldr = _this select 1; // Person who used the addAction _act = _this select 2; // ID of the addAction // Group given in the arguments section (ie: [POWS] _grp = _this select 3 select 0; // Remove the rescue option _per removeAction _act; // Join preselected units (POWS) to callers group, silently. {[_x] joinSilent _ldr} forEach _grp; If anyone could help me out I would appreciate it.
  2. crazy_usmc

    HVT/POW help

    Thanks hog for the help!
  3. crazy_usmc

    HVT/POW help

    Single player for now ---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ---------- Thanks Hog! do I activate both using a trigger and by marker do you mean actual markers or just a random object? Sorry if this sounds dumb lol
  4. I've got a question. I've watched vids and read other post from many different sites about this script and I've done exactly what it says to (saved in my documents arma2 mission folder) but when I get into range of the trigger I get an error saying "ied.sqs not found" can anyone offer some help? I am a newbie when it comes to scripting ;D
×