thefinn 3 Posted July 9, 2015 Pretty much the topic, I'm after a way to link or unlink support providers to the requester via script so I can set the conditions to make them available. Have googled heaps, but searching for this is painful as there are just so many module tutorials on basic stuff. Being able to set the conditions in the editor itself (via gamelogic or some such?) is "ok" but not really what I'm after - altho I wouldn't mind knowing how to do that too Thanks for any help. Share this post Link to post Share on other sites
R3vo 2654 Posted July 9, 2015 synchronizeObjectsAdd & syncronizeObjectRemove is what you're looking for. Share this post Link to post Share on other sites
thefinn 3 Posted July 9, 2015 thanks so much, i searched the wiki for about an hour and didn't find those lol for some reason I was searching for "linking" haha Share this post Link to post Share on other sites
Larrow 2822 Posted July 9, 2015 synchronizeObjectsAdd & syncronizeObjectRemove is what you're looking for. Do not use these for support modules, although they do link the items they do not update the comms menu properly. Use BIS_fnc_addSupportLink and BIS_fnc_removeSupportLink instead 1 Share this post Link to post Share on other sites
thefinn 3 Posted July 11, 2015 (edited) Is it possible to CREATE the support provider/requester via script also ? I notice there's "addeditorobject" however the wiki seems to be short of any kind of examples for it. Nevermind this will work as is. Edited July 11, 2015 by thefinn Share this post Link to post Share on other sites
Larrow 2822 Posted July 11, 2015 If you find you would still like to spawn the modules via script see my first coupe of post in this thread. Share this post Link to post Share on other sites
thefinn 3 Posted July 11, 2015 Nice answer, that's almost exactly what I'm up to. Share this post Link to post Share on other sites