Jump to content
Sign in to follow this  
der.hannes

rewards for spawned undead/infected civs?

Recommended Posts

in my mission i get money rewards for each killed undead, i done this with a trigger:

present-guer

Cond: this

Act: {_x addeventhandler ["killed",{if(_this select 1 == player) then {[player] exec "scripts\Money_Shot.sqs"}}]} foreach thislist

this works fine for editor placed infected, but spawned units from undead-spawnmodule and people who got infected are not counting.

do i have to add the spawned undead to guerilla side? how?

found a command for checking the unittype (istype or so), i think i could just ask wheter a zombie-unit got killed by player - but i dont know how to realise this.

sorry for my noob questions but scripting is to hard for me and biwiki dont help me much...

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  

×