Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Exile Mod
- * www.exilemod.com
- * © 2015 Exile Mod Team
- *
- * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
- * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
- */
- private["_unit","_selectionName","_amountOfDamage","_sourceOfDamage","_typeOfProjectile"];
- _unit = _this select 0;
- _selectionName = _this select 1;
- _amountOfDamage = _this select 2;
- _sourceOfDamage = _this select 3;
- _typeOfProjectile = _this select 4;
- if (isPlayer _sourceOfDamage && !(_sourceOfDamage isEqualTo player)) exitWith
- {
- _amountOfDamage = damage _unit;
- _amountOfDamage
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement