nullsystems 0 Posted March 4, 2008 Hi, I don't know best how to describe this but, im looking to pass the name of something into an addaction, for example: I have an M2 Machinegun Placement Name: Onions Init: MG = this addAction ["Move Onions","script.sqs"] I also have another M2 Placement Name: Kitten Init: MG2 = this addAction ["Move Kitten","script.sqs"] Now, I dont want a different script.sqs for each one, I just want to pass its name into the script, like you would with: [onion] exec "script.sqs" And then catch it in the script with: _veg = _this select 0; Sorry, complicated way of explaining. lol Share this post Link to post Share on other sites
Master85 1 Posted March 4, 2008 http://community.bistudio.com/wiki/addAction#Alternative_Syntax Share this post Link to post Share on other sites