LoonyWarrior 10 Posted May 26, 2013 hi.. is it possible to spawn function with trigger ? Trigger on Activation h = spawn MyFuncion; right now im doing the same with execVM calling additional script file.. and since this script have 6 rows of code i would like to avoid this.. thx for advice... Loony Share this post Link to post Share on other sites
killzone_kid 1332 Posted May 26, 2013 yes. make sure you pass something to spawn function even if it is empty array or editor will complain h = [] spawn MyFuncion; Share this post Link to post Share on other sites
LoonyWarrior 10 Posted May 26, 2013 yes. make sure you pass something to spawn function even if it is empty array or editor will complainh = [] spawn MyFuncion; ..thats it ...thx ! Share this post Link to post Share on other sites