Home   Help Search Login Register  

Author Topic: DO YOU HAVE ANY IDEA how hard it is to make a hostage rescue mission ???  (Read 991 times)

0 Members and 1 Guest are viewing this topic.

Bad Maniac

  • Guest
I'v been fiddling with scripts and triggers and waypoints and holy crap! And it finally works! I'm EUFORIC!
:beat:
:thumbsup:
:toocool:
:joystick:

ok, what happens is:

Some unarmed west soldiers get triggered by eastern forces to FXstandsuruniv, and setcaptive and behaviour careless.
then when all the eastern units are dead, and you walk up to the prisoners, they will follow you (still one thing to figure out, see Q below)
They follow you to a designated pickup point then stops (thanks sui, my follow scripts works perfect now)
when their transport truck comes, it's waypoint is a load, and in its act field it says [captive1, captive2] ordergetin true; so the hostages will then climb into the truck, and it will drive off, taking them to safety, so the mission can continue.
everything works perfectly, although I couldnt get the publicvariable thingy to work, so I dont know if it will work in MP, and it's a MP mission.

now, a few questions:
1. How can I detect WICH unit triggers walks up to the captives and sets off the trigger, so they know who to follow?
2. can someone tell me the correct syntax for the publicvariable thing? I want to make "stopfollow = false" a public variable.
3. Is there a need for this mission as a tutorial? I have a test mission set up on desert island, no addons necessary. Or is there allready a tutorial that does this?
« Last Edit: 28 Apr 2003, 21:45:58 by Bad Maniac »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
1.  There was a thread about his a few weeks ago.   If I remember rightly the short answer is that  you have to create a seperate bunch of triggers for each rescue group.   Anyway, search the forum.

3.  I can't remember if there is a tute mission like this in the Ed Depot, but if you check the various sub-categories you will easily find out.   If there is not, and you would like to make it one, that's great.    A test mission format on Desert Island sounds like a good way to do it.
Plenty of reviewed ArmA missions for you to play

Bad Maniac

  • Guest
1. Still no luck, I'll keep looking.

2. make an "init.sqs" file, and in it put:
stopfollow = false
publicvariable "stopfollow"

then when you update the variable in a trigger put:
stopfollow = true
publicvariable "stopfollow"

3.As soon as it works flawlessly. the last thing is Q 1. I need to figure that out. worst case scenario, Ill just make them follow the leader of the rescuers.

jamie_psx

  • Guest
I'v been fiddling with scripts and triggers and waypoints and holy crap! And it finally works! I'm EUFORIC!


Did you make it so that, a certain time after the Rescue attempt begins, the East Soldiers shoot the prisoners?
Just to show that they're serious about the whole hostage taking thing?  ;D  ;) ;D

Bronski

  • Guest
Try here:  http://www.ofpec.com/editors/resource_view.php?id=46

Thats the hostage situation tute in the editor's depot.  I don't know if it will help you any, I haven't used it.  

Bad Maniac

  • Guest
Thanks Bronski, I've already read it, that's where I got started. But it unfortunately only goes so far, and it isn't  exactly what I want to achieve.  ;)