Hi,
Im working on a script, but i have a problem. How do i make a scroll bar appear when Im close to a building?
I tried this :
Im working on a script, but i have a problem. How do i make a scroll bar appear when Im close to a building?
I tried this :
PHP:
_objects = ["some building here","and another"];
if (player distance _object) < 5)) then {
is_close_to"= true; } else { is_close_to"= false;};
if((speed player <= 1) && _canDo && is_close_to=true; ) then {
if (action_name < 0) then {
action_name = player addaction