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?