Plattmaker 1 Posted February 23, 2002 Dear Bohemia Interactive, I am going to script a kind of respawn manager for advanced MP missions. For this task I need some detailed information about how the scripting engine works. I hope you are able/allowed to help me: 1) If I declare a global array which contains data a background process has to deal with, is it guaranteed that no other script has access to this array while the background script process the data or must I use some kind of semaphore system? The task works in this way: Sensor or other event (eg. death) triggered scripts add elements to the global array and the background script removes elements and does something with the data the elements contain. 2) What is the less computive task for OFP when creating Units, with the createUnit-Command: I use the command with no delays between the calls or I force OFP to create only one unit at a suitable time interval? I hope you will help me! Thank you 1 Share this post Link to post Share on other sites
MozMan 0 Posted February 23, 2002 BIS will never replie when u want them to, only when they want, but hey u nva know Share this post Link to post Share on other sites