Jan_F_W 10 Posted July 23, 2009 I would like to add a parameter for a respawn script where the side for a newly created group can be determined something like this did not work: working with static side "EAST": "_group = createGroup EAST;" not working: _groupParameter = _this select 0; // parameter is well passed in here... _group = createGroup _groupParameter; does not work^^ ---------- Post added at 07:35 PM ---------- Previous post was at 07:26 PM ---------- just found out that the parameter for the groups CANNOT be passed in the function as string so it has to stand without quotes in the execVM call.. without quotes. Share this post Link to post Share on other sites
TurokGMT 0 Posted July 23, 2009 pass the parameter as an object, then convert it to a string. I believe there is a command in the comref somwhere that converts to string, even something simple like format should do it: _groupstring = format ["%1",_groupParameter]; _group = createGroup _groupstring; Share this post Link to post Share on other sites