POTS 0 Posted December 24, 2008 I can no longer use createUnit. It says no error at all, it just doesn't work. I cant really describe what happened, it just stopped working. I've used it lots of times, but it just stopped working. Any new mission I create, createUnit will not work. Share this post Link to post Share on other sites
Pulverizer 1 Posted December 24, 2008 At least post an example of your code to confirm it's not a very simple case of PEBKAC due to lack of RTFM. Share this post Link to post Share on other sites
POTS 0 Posted December 24, 2008 I initialize this and it doesn't work. Tried it in scripts, init.sqs, every possible intitializer. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"Civilian" createUnit [getMarkerPos "guy", createGroup civilian, "THISGUY=this"]; Share this post Link to post Share on other sites
Pulverizer 1 Posted December 24, 2008 Do you have any civilian side units on the map before you createUnit? Because it won't work if you don't, unless you use http://community.bistudio.com/wiki/createCenter Share this post Link to post Share on other sites
POTS 0 Posted December 25, 2008 OMG I DELETED HIM! Lol's, he was the only guy there. Seems i've gotten rather lucky by having AI units on the map before most of the time. Thanks for the help. I find it retarded that it doesn't create an error though. Something BIS should add to 1.15b to help with this? Share this post Link to post Share on other sites
Maddmatt 1 Posted December 25, 2008 OMG I DELETED HIM! Lol's, he was the only guy there. Seems i've gotten rather lucky by having AI units on the map before most of the time. Thanks for the help.I find it retarded that it doesn't create an error though. Something BIS should add to 1.15b to help with this? It's because there is no "Center"/HQ for that side. When you place a unit from that side in the editor then ArmA creates the Center automatically. You can use the createCenter to spawn it if you have no unit from that side in the editor. Share this post Link to post Share on other sites