Jump to content
Sign in to follow this  
Guest Titanium

Fires and soldiers at ease

Recommended Posts

Guest Titanium

In this map im making, i have several fires in a camp, so how do i make it so that when i insert them the are already lit, for how do i make someone lite them?

And how to i make soldiers at ease/sitting down. Like a small group on a patrol?

Share this post


Link to post
Share on other sites

The campfires can be lit with the script:

    this inflame true

Put this script in the objects init line

You can make the soldiers sit down with this script. Put this also in the units init line:

    this setbehaviour "safe"; this switchmove "effectstandsitdown"

Share this post


Link to post
Share on other sites
Guest Titanium

Thx that works like a charm.

another question:

How do you make a civilian stay on one place. Becuase hes going to be a hostage, and he wont stand still, then i have to chase him down to join our squad.

Share this post


Link to post
Share on other sites

haha, It could be a bit annoying biggrin.gif

Try to use this script:

DoStop 'civilianname'

I haven't tried that script but I think that will keep the civilians stay still until you come and save them.

Share this post


Link to post
Share on other sites

Or,

civilian_name disableAI "MOVE"

And then, when they are allowed to move

civilian_name enableAI "MOVE"

(Does that work that way, btw?)

Share this post


Link to post
Share on other sites

You can not use command  enableAI because such command not exist. I don't know about way to make unit move after unit disableai "move". (same problem with "target" and "autotarget")

Share this post


Link to post
Share on other sites

Thanks for correcting.

I am at work, so I cannot test these things, and I could not remember..

In that case, the doStop thing might be better.

Share this post


Link to post
Share on other sites
Guest Titanium

King nothing, what is civilian name?

Share this post


Link to post
Share on other sites
Guest Titanium

nm, i gave the civ. a name (james) but this is what happen. I put that script into the init. feild (istead of using ' at the beginning and end of the name i used the ". otherwise it wouldnt start the mission). Added the join WP and when i start the game up, on the top left is says this :

'DoStop "James|#|': Error Type String, expected Object,Array

anyone else got a scrpit to try?

Share this post


Link to post
Share on other sites
Guest Titanium

I just tried setting it so that, the player would join and lead, not so that the civ would just join. It would make this a lot simpler, but. I dont want the icon to show (the yyellow-organe rectangale around that guy that you will join and lead him.) is there any way to get rid of the icon?

Share this post


Link to post
Share on other sites

Did you try:

   DoStop James

The 'civilianname' I wrote just ment that you have to write only the name of the unit you want to stop, and not with ' or "  wink.gif. remember that the this-word in the earlier scripts like 'this inflame true' ment the current unit or object, so you can also write 'DoStop this' if you write it to the civilians init line.

Even if this script works now I don't know how it works because I haven't used it ever.

If you want to get rid of that icon and you are sure that the civilian stays in its position, you can make a trigger around the civilian so that the trigger area covers the civilian. Then group the trigger with your player and select in the trigger -group leader and -present. Then in the on activation write '[civilianname] join player' and remeber this time to replace the civilianname with its true name and include the [ ] wink.gif. The player you can leave because the game will consider that as the game player.

Hope this helps  smile.gif

Share this post


Link to post
Share on other sites

hey, i have a quick question. can you make other thing catch on fire with that "do flame" thing? btw i only have the demo untill this weekend, can i try some of this stuff with just the demo?

Share this post


Link to post
Share on other sites

the inflame thing is only for campfires. And last time I played demo before I had the full game the demo didn't include the mission editor. Do you have one in yours?

Share this post


Link to post
Share on other sites
Guest Titanium

Back to sqaure one. How do i get the hostage (civilian) to stay still while my team comes to rescue him. I dont want to add a join and lead command to my squad leader. Becuase then you know his exact location. Or very close to it. I'm using the join WP. but how do i get him to stand still while im coming to get him. and how do i get him to join once i get to him. ive tried several things and noone work. please help.

Share this post


Link to post
Share on other sites

Like I already said, try:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (King Nothing @ April 02 2002,21:21)</td></tr><tr><td id="QUOTE">If you want to get rid of that icon and you are sure that the civilian stays in its position, you can make a trigger around the civilian so that the trigger area covers the civilian. Then group the trigger with your player and select in the trigger -group leader and -present. Then in the on activation write '[civilianname] join player' and remeber this time to replace the civilianname with its true name and include the [ ] wink.gif. The player you can leave because the game will consider that as the game player.

Hope this helps  smile.gif<span id='postcolor'>

Share this post


Link to post
Share on other sites

Place for civilian wp Hold position and he will stay on place.

For you team place move wp in loacation of civilian - not join wp.

Then make, anywhere on map, trigger with 0,0 axis, activated by nobody once,

condition : (player distance civilianName)<5

on activation : [civilianName] join player.

Civilian will wait in location and he join your group if you go near to him.

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  

×