-
rewards for spawned undead/infected civs?
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules