Author Topic: UserActions Help  (Read 506 times)

0 Members and 1 Guest are viewing this topic.

rogeruk

  • Online Villain
  • ***
  • Posts: 100
    • View Profile
UserActions Help
« on: February 19, 2011, 10:07:38 pm »
Code: [Select]
class nameofclass
{
  displayName="-Menu-";
  showWindow = 0;
  hideOnUse = 1;
  position="";
  onlyforplayer=1;
  radius=5;
  condition="this == player";
  statement="this exec ""\name\init.sqs""";
};

Question 1
Code: [Select]
Radius=5; Is this small enough so other players cannot see the action?

Question 2
Is there anyway i can make it autorun the init.sqs without having an action? If not, is there a way to remove the action once run?. I want to run a script only once at the beginning of the game and remove the menu's/actions then.

Thanks