smookie 11 Posted August 29, 2005 Hi, I have a question. Really sorry if this issues was already taken, but it is hard for me to read these 7000 topics . To add an action to the player i put player addaction ["Perform action","script.sqs"] Can i somehow make the player executing the script by menu action with parameters? (i mean the ones you normally put before the 'exec' word in bracekts [] ) normally addaction ["Perform action",{[var1,var2,soldiername] exec "script.sqs"] doesnt work. regards,smk Share this post Link to post Share on other sites
klavan 0 Posted August 29, 2005 I don't think it's possible anyway. Klavan Share this post Link to post Share on other sites
korax 4 Posted August 29, 2005 Nope, its one of ofp's limitations Share this post Link to post Share on other sites
Trapper 0 Posted August 29, 2005 You can't add your own values, but three important ones are already present for addaction scripts: _this select 0: object action is attached to _this select 1: object that executed the action _this select 2: index of action Share this post Link to post Share on other sites