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] call 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
- [0, "BLACK", 0, 1] call BIS_fnc_faceEffect;
- // Sound for "Everybody"
- [_player, ["pruegel", 5, 5]] remoteExecCall ["say3d", 0];
- //
- //_target setDammage 1;
- _target setUnconscious true;
- // Platzhalter
- [1, "BLACK", 0, 1] call BIS_fnc_faceEffect;
- },
- {
- true
- },
- {
- },
- [
- ],
- [0,0,0],
- 150
- ] 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