Ppgtjmad / SimpleShops

[HG] Simple Shops
27 stars 8 forks source link

Incorporating Ravage or WebKnights zombies into killrewards. #85

Open jgp3199 opened 2 weeks ago

jgp3199 commented 2 weeks ago

Looking to add the zombie classnames or just the zombies in general. Want it to recognize killing a zombie and award normally.

Ppgtjmad commented 2 weeks ago

Hello @jgp3199,

I'd suggest you find the script that spawns zombies and call this function: HG_fnc_aiUnitSetup

Like so:

[_zombieUnit] call HG_fnc_aiUnitSetup; // _zombieUnit is the actual zombie object, variable name can be different

If you use the editor then just put this in each of the units init box:

[this] call HG_fnc_aiUnitSetup;

Edit: This question has already been asked on BI Forums here. There's never been a proper answer.