Hey jepo-
unitname addaction ["action", "action.sqs"]
So unit name is obvious, thats where you put who you want to have the action added to.
"action" is where you put the writing you want to appear in the players action menu.
"action.sqs" is the script you want to call.
Also, to remove the action from the menu after it's been called use: unitname removeaction #
# will equal 0 for the first action you add, then if you add another action later on in the mission, you would use 1 in place of the # then 2 for the next and so on.
I hope this makes sense. You can use it in triggers with a distance call or in scripts.
Blip :joystick: