Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- STILL WIP!!!!!!
- Aufruf bspw. in init.sqf
- {
- if (side _x == east) then {
- [_x] spawn compile preprocessFileLineNumbers "fn_knowDown.sqf"
- }
- } foreach AllUnits;
- oder:
- [VarNameDesTypsDerNiedergeschlagenWerdenSoll] call compile preprocessFileLineNumbers "fn_knowDown.sqf";
- */
- _object = _this select 0;
- /// Action
- _action_hit = [
- "Knock Down",
- "Knock Down",
- "",
- {
- Params ["_target", "_player", "_actionParams"];
- // Platzhalter
- [1, "BLACK", 0, 1] remoteExec ["BIS_fnc_fadeEffect", _player];
- //[1, "BLACK",0 ,1] spawn BIS_fnc_fadeEffect;
- // Sound for "Everybody"
- [_player, ["pruegel", 5, 5]] remoteExecCall ["say3d", 0];
- _target setDammage 1;
- //[_target, true, 99999, true] call ace_medical_fnc_setUnconscious;
- // Platzhalter
- //[0, "BLACK", 0, 1] spawn BIS_fnc_fadeEffect;
- [0, "BLACK", 0, 1] remoteExec ["BIS_fnc_fadeEffect", _player];
- },
- {
- true
- },
- {
- },
- [
- ],
- [0,0,0],
- 100
- ] call ace_interact_menu_fnc_createAction;
- [_object, 0, ["ACE_MainActions"], _action_hit] call ace_interact_menu_fnc_addActionToObject;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement