HEROTHOR
Member
Has anyone came accross this. I'm looking for another variable, to add into my scripts to make them not pop up and be there when there not supposed to be there.
the first one is from bloodbag script that I use.
Second one I use is,
Keeps it from popping up if your moving forward.
I noticed
The code I would like to add this to is.
I tried adding "&& !_cursorTarget" and I get script errors, any Ideas?
ADDING
I would like to add "Does Not Have A Cursor Target" to this code, such as !_cursorTarget so If a player is looking at a door or a vehicle or a gear pile they will not get the option to bloodbag or something. Thanks guys much appreciated, this will probably benefit everyone lol.
the first one is from bloodbag script that I use.
Code:
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
Second one I use is,
Code:
(speed player <= 1)
I noticed
Code:
_cursorTarget = cursorTarget;
The code I would like to add this to is.
Code:
speed player <= 1) && hasBagItem && _canDo
ADDING
I would like to add "Does Not Have A Cursor Target" to this code, such as !_cursorTarget so If a player is looking at a door or a vehicle or a gear pile they will not get the option to bloodbag or something. Thanks guys much appreciated, this will probably benefit everyone lol.