Jump to content
Sign in to follow this  
sputnik monroe

Ok I'm trying again to get into mission making

Recommended Posts

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

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

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

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">groupalpha=group this

smile_o.gif

Edit: Do'h, Blanco beat me to it tounge_o.gif

Share this post


Link to post
Share on other sites

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×