Scripts / kill two certain npcs to enter a door

Author
Message
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 3rd Nov 2016 23:51
hi there!
i would like to know what i would have to change when i want this:
i want a mission door to only be opened when two certain npcs are killed. there are many more hostile enemies but i have to kill these special two guys to go on. and these two guys should be visible on the radar as well in another color than the average enemies.
i have the script for a collectable that appears yellow on the radar, that would be good. now the pick up must be changed into kill but i don't know how to make this with a gun. i can't go to enemies, press e and they disappear



^this is the objective, this could become a "marked man" script for the victim. it appears on the radar in the right colour already.



^this would be the starter. of course the displayed texts are wrong.


^this would be the mission door.

is there a way you can help me? is this even possible?
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 5th Nov 2016 16:27
Do you mean like this one?



If so, those scripts might help.

add killcount_door.lua to the door



Add ai_soldier_missiondoor.lua to the enemies (2)



hth

3com


Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
nuncio
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 28th Jan 2015
Location: Schleswig Holstein, Germany
Posted: 5th Nov 2016 22:39
i already had those two scripts but i didn't know how to use them. now i know. yes, this is a great help for my idea. thank you!
http://www.nuncio-rap.de
intel core i5-3570K CPU @ 3.40GHz; 8GB RAM // NVIDIA GeForce GTX560Ti
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 5th Nov 2016 22:59
You are welcome!
Good luck with your project.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-12-22 23:11:42
Your offset time is: 2024-12-22 23:11:42