OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Black Ops 8 on 22 Feb 2004, 03:51:59

Title: How do I make an ENTIRE group stand?
Post by: Black Ops 8 on 22 Feb 2004, 03:51:59
I dont have time to search the forums so help me please....I tried the syntax
mygrp = group this;"_x setunitpos UP" foreach units mygrp
That doesnt work, somebody help me out ???
Title: Re:How do I make an ENTIRE group stand?
Post by: CrashnBurn on 22 Feb 2004, 04:51:40
"_x setunitpos {UP}" foreach units mygrp
Title: Re:How do I make an ENTIRE group stand?
Post by: Raptorsaurus on 22 Feb 2004, 07:13:33
When a value's normal syntax is in quotes (""), use brackets ({}) in place of the quotes when the higher order syntax is in quotes.

So as Crashburn has put it:
Code: [Select]
"_x setunitpos {UP}" foreach units mygrp