hostage Event

Hey guys,

I am working right now at a "rescue the Hostage" Event. The hostage is spawned random with some AI Bandit Guards, a marker is shown up on the map and a hint says for example "the Crazy Doctors daughter has been kidnapped by Bandits! Go and rescue her!"
In hostage units init a script is executed which makes it "captive", and i have also added a "Untie" action to the captive and when its done the hostage (Group Civilian) joins the players Group and follows. a second marker was spawned as the "extraction point" or "target position" where the deliverer should bring her to get a reward... And heres the point where i am at a loss

I gave some thought to how its done when a vehicle is sold and a script refers to the database and adds the gold to players inventory....
But i actually dont know how it can be done...
Maybe the are some tuff guys out there ,with a bit more of scripting experience , who can give me a hint or maybe can do their suggestion for a compromise...

Cheers!
 
Back
Top