I'm setting up a simple custom one time task in CoC 1.5, but I'm unsure of how to handle the helicopter side of the task.
It's a custom fetch task in outskirts/cop pripyat.
The player shoots down a helcopter and retrieves a helicopter blackbox and a pda from the dead pilots body.
Then returns to the task giver to hand in the blackbox and pda.
I have added a dead pilot and blackbox that is spawned when the helicopter is destroyed.
Shooting down any helicopter will drop a dead pilot and blackbox (I've added a info check so the dead pilot will only spawn for my task, blackbox will spawn with any heli kill).
So I have the task_functor, task_status_functor, xr_condition, xr_effects functions implemented to handle monitoring the actor has the 2 fetch items in their inventory.
Currently as a test I have the task not target any specific helicopter, just monitor for when the player has the 2 items.
What I'm absolutely lacking is the method to spawn a helicopter and have it patrol between 2 or 3 close together smarts when task on_init is fired.
Any pointers for this last step are welcomed.
The good part of what I've already written it allows me to easily setup generic multi individual item fetch tasks.
"Hey stalker I'm going on a journey and I'm unprepared, can you bring me a wood stove, bag of charcoal, sleeping bag?"
"Ok, I'll bring you those items, no worries."
Hey stalker the boys each need a type of gun can you bring me: SVD Sniper Rifle, Avalance, Eliminator, RP-74?"
"No problem, be back soon with what your after."
Makes more sense to me then the vanilla Find "# x item" (# = count and item = being just one type).