a bit of this and a lot of that
On forum: 08/08/2008
Message edited by:
Some questions about task creating
I have made some new tasks for shoc and now i have some questions :
1. How i can make a mapspot for a special task npc, spawned by script ?
local s_obj = alife():create(my_dude)
level.map_add_object_spot(s_obj.id, "green_location", "my_hint")
2. How i can make it that a mission is completed when the player has eliminate all stalkers in a smart_terrain ?
I dont have vanilla files infront of me, but if you check xr_gulag.script, there should be a function summin like get_gulag_population(gulag), so you would say something like
if xr_gulag.get_gulag_population("my_gulag_name") == 0 then
--all are dead
VALA: Vicious Attack Llama Apocalypse.
The apocalypse starts soon!