Home   Help Search Login Register  

Author Topic: Action Menu  (Read 1309 times)

0 Members and 1 Guest are viewing this topic.

Offline angusjm

  • Contributing Member
  • **
    • Virtual SAS
Action Menu
« on: 23 Aug 2002, 23:20:17 »
This probably has been discussed many times before, but can you add anything to the action menu?  Is it easy to do?  In one of the campaign missions you are able to.

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Action Menu
« Reply #1 on: 23 Aug 2002, 23:37:01 »
aye its just

actionID = unitname addaction ["action name text thing","scriptname.sqs"]

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Action Menu
« Reply #2 on: 23 Aug 2002, 23:42:16 »
and remember to remove the action in the script (unless you want it to be a repeating action):

unitname/objectname removeaction actionID

remember u dont have to add the action to the player (since that means it will run around with him) u can add it to and object so when u get close enuff u can use the action (like bis did with the bus timetable)
Proud Member of the Volunteer Commando Battalion