OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 28 Jan 2003, 05:52:28

Title: This, Unitname, this, this.......aye?
Post by: O Neil on 28 Jan 2003, 05:52:28
Hey

Just a stupid question, what's the difference between putting down THIS and putting down UNITNAME.

Sorry, It's just been bothereing me  :-[

O Neil

PS: Probably just the wya it is eh ?
Title: Re:This, Unitname, this, this.......aye?
Post by: Artak on 28 Jan 2003, 07:06:51
no difference that I can think off at this early hour  :o :)
Title: Re:This, Unitname, this, this.......aye?
Post by: Silver Fox on 28 Jan 2003, 14:33:55
Well you put the "unitname" in if its called from elsewhere and you put "this" if its in the same units init field!

Its just to make things faster mate  :P
Title: Re:This, Unitname, this, this.......aye?
Post by: Wolfrug on 28 Jan 2003, 21:10:58
also easier to cut n' copy :thumbsup:

"_x moveIncargo chop" forEach units group this

and then just cut n' copy and you'll have a chinook filled in no time. Yah. Well. Redundant me :P

Wolfrug out.
Title: Re:This, Unitname, this, this.......aye?
Post by: Tomb on 28 Jan 2003, 22:45:30
one thing  :o if you put :

   DeleteVehicle THIS

in a WP, the game will crash, no matter if its a bird w/ crew  or just a single dood  ::)


....never really got to know that annoying deleteVehicle spell....  :P >:(