Added ToDo text
This commit is contained in:
parent
033a55a311
commit
7cd79e8f8b
@ -5,6 +5,20 @@
|
||||
Modified by Zepheris to work with A3 Epoch's Dyna Menu System
|
||||
*/
|
||||
|
||||
/*
|
||||
Things I need to do:
|
||||
1) rewrite the onEachFrame section of the code so its not using onEachFrame
|
||||
2) Set variables so the game knows I'm dragging a Corpse
|
||||
3) Figure out what I need to do in the event a player dragging a corpse dies.
|
||||
4) Use variables to prevent the player from dragging more than one Corpse.
|
||||
5) Use same variables to change how the corpse drag menu is displayed.
|
||||
6) Verify the corpse is actually dead before allowing the drag to Work
|
||||
|
||||
**would like to have list below**
|
||||
Figure out how to setup just one function so I can just add that to the cfgRemoteExec.hpp file.
|
||||
Figure out how to add the corpse into a car.
|
||||
*/
|
||||
|
||||
H8_CorpseDrag = {
|
||||
params ["_corpse","_epochID"];
|
||||
|
||||
@ -34,7 +48,7 @@ H8_takeOwnCorpse = {
|
||||
_player = _this select 1;
|
||||
_epochID = _this select 2;
|
||||
_start = diag_ticktime;
|
||||
waituntil {diag_ticktime - _start > 5 || local (_this select 0)};
|
||||
waituntil {diag_ticktime - _start > 5 || local (_corpse)};
|
||||
if (local (_this select 0)) then {
|
||||
[_corpse, _player,_epochID] call H8_DragAction;
|
||||
};
|
||||
@ -167,36 +181,4 @@ H8_removeBody = {
|
||||
_unit setPos _pos;
|
||||
_unit switchMove "AinjPpneMstpSnonWrflDb_release";
|
||||
};
|
||||
|
||||
H8_addDrag = {
|
||||
{
|
||||
H8_increments = H8_increments + 1;
|
||||
_x setVariable ["H8_increm",H8_increments,true];
|
||||
H8_dragUnitArray set [count H8_dragUnitArray, _x];
|
||||
}forEach _this;
|
||||
|
||||
[_this,"H8_fnc_Action",TRUE] call BIS_fnc_MP;
|
||||
|
||||
publicVariable "H8_increments";
|
||||
publicVariable "H8_dragUnitArray";
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
if (isNil ("H8_dragUnitArray")) then {
|
||||
H8_dragUnitArray = [];
|
||||
H8_increments = 0;};
|
||||
{
|
||||
H8_increments = H8_increments + 1;
|
||||
_x setVariable ["H8_increm",H8_increments,true];
|
||||
H8_dragUnitArray set [count H8_dragUnitArray, _x];
|
||||
}forEach _this;
|
||||
publicVariable "H8_increments";
|
||||
publicVariable "H8_dragUnitArray";
|
||||
};
|
||||
|
||||
if (!isServer && (player != player)) then { waitUntil {player == player}; waitUntil {time > 15};};
|
||||
|
||||
if (!isDedicated) then {
|
||||
0 = H8_dragUnitArray spawn H8_fnc_Action;
|
||||
};
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user