sputnik monroe 102 Posted July 28, 2004 How do I get getpos to work? Create unit? Camcreate? I would like to know how you create units. For example I have a machine gun nest that I wan't to start randomly at one of three areas. So every time you play it's in a different spot, how do I do this? PS. why won't this work, I made a trigger that uses radio code alpha then in the On activation field I put "SoldierWB" createUnit [getMarkerPos "here", groupAlpha] I made a marker named here but nothing happens. Sorry to bug you guys but I just can't figure this stuff out. I've tried depboing mission to see how other people do things but they don't make sense to me. Share this post Link to post Share on other sites
Blanco 0 Posted July 28, 2004 2 - Do you have a group named Groupalpha (in your case) on the map? 1- To start units in randomly places : Place empty markers on each spot. Then group (F2) the unit(s) with every marker. When you preview, you will see that they start at the position of one of those markers. Share this post Link to post Share on other sites
sputnik monroe 102 Posted July 28, 2004 Exellent the marker grouping works. Thanks. I tried making a group alpha but it still isn't working. I think I'm not making groups right. I tried putting in some guys init field groupalpha=this and that didn't work so I tried this=groupalpha. Any suggestions? Share this post Link to post Share on other sites
Blanco 0 Posted July 28, 2004 one unit is enough : groupalpha = group this Share this post Link to post Share on other sites
MrZig 0 Posted July 28, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">groupalpha=group this Edit: Do'h, Blanco beat me to it Share this post Link to post Share on other sites
sputnik monroe 102 Posted July 28, 2004 Ok I finally got that to work. Thanks guys you are a lot of help. Hey if you guys don't mind, care if I keep this thread open to ask questions? Eventually when the mission is complete I can release it in this thread for you to try and give pointers and your critisism? Oh one other question before I forget, How can I set the skill level and rank in the create unit tidbit? It says it can be done in the command reference but I'm afraid I can't get it to work. Share this post Link to post Share on other sites
macguba 0 Posted August 1, 2004 OFPEC online comref Share this post Link to post Share on other sites