Jump to content
Sign in to follow this  
spektre76

[Wanted] Simple terrorist hunt script.

Recommended Posts

Hey guys,

Basically I just want the game to end when all enemies are dead. Remember the way RVS3 had the old school 'terrorist hunt' where you say hey I want to kill 30 enimies on this level of difficulty...ect.

Thanks all.....and my first model should be posted very soon for my MOD (AddOn).

Share this post


Link to post
Share on other sites

create a trigger (big enough for your area).. triggered by (yourEnemySide) not present.. repetitive.. and end 1.

:)

Share this post


Link to post
Share on other sites

Oka so this is what I did and still 'no worky'.

I named one of the OPFOR to 'enm_1' (enemy one). Then I added more gys with lower rank attached to him.

Made a trigger and my script was this:

!alive enm_1 in the first block

ForceEnd in the second block

I even gave each soldier invidual names and tried it this way:

enm_1 && enm_2 && enm_3......ect

Can someone point me to a good tutorial?

Share this post


Link to post
Share on other sites

They best way to work this in MP (inc. dedicated) is:

1. create a big trigger covering the area where enemy must be neutralized from

2. set OPFOR NOT PRESENT and leave "this" below and add On Act field:

yeah=true;publicvariable "yeah"

3. create another trigger (no matter size, usually I drop it to 20x20) and put in Init field:

yeah

(instead of this already written in it)

and in On Act:

hint "All enemies neutralized in the sector. Mission accomplished!"

Make sure at least 5 seconds pass (5 5 5 in the trigger field Min Med Max) to all clients are in sync. Then add some fancy music and end the mission with END1 option in the same trigger.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×