OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Undeceived on 23 Jul 2008, 17:42:22

Title: Make unit stand up via script command after the leader ordered "Get down!"
Post by: Undeceived on 23 Jul 2008, 17:42:22
Hi guys...

I tried to make it, but it seems not to be possible...

Can you confirm that there is no way to make a unit stand up with a script command like  " soldier setunitpos "UP" "  when the leader of the unit has ordered to "Get down!" before?

I will try to explain it better:

The player is the leader of a group.
I want a soldier of that group to be up on foot in a cutscene that begins right after a battle.
So I wrote the setunitpos "UP" command in the script of the movie.
But before the cutscene starts, some players could command the group to hit the dirt.

And now the problem is that this command of the leader seems to be "stronger" than a command in a script (soldier setunitpos "UP"). "setunitpos" does not affect the "Get Down!" command of the leader.
Can you confirm this? Or is there a way around it?

Thank you for your help.


PS: The same goes for trying to make the unit get down via script when the leader commanded "Soldier, stand up!"...  :dry:
Title: Re: Make unit stand up via script command after the leader ordered "Get down!"
Post by: Luke on 23 Jul 2008, 18:51:02
Undeceived,

You could try initing them as ' ' group1 setBehaviour "safe/careless" ' '.

Luke
Title: Re: Make unit stand up via script command after the leader ordered "Get down!"
Post by: Undeceived on 23 Jul 2008, 21:34:21
Hi, thanks for the reply.

Yes, I tried it with safe careless too, but unfortunately it didn't work either... I also tried stuffs with triggers and etc..., or playmove / switchmove animation. No sucess...

I really hope there is a way around this...
Title: Re: Make unit stand up via script command after the leader ordered "Get down!"
Post by: Undeceived on 30 Jul 2008, 20:54:56
Hi guys

Does anyone know a solution for this?

 ???
Title: Re: Make unit stand up via script command after the leader ordered "Get down!"
Post by: Baldman on 28 May 2009, 05:48:08
Old thread but I'm having the exact same problem, they just refuse to stand from a script once the leader (player) has ordered them to go prone.

Anyone found a workaround yet?