PDA

View Full Version : How do i DO these two simple things



Red Oct
Nov 15 2001, 23:51
i cant figure out how to simply get a soldier to sit! heres what i tried typing in the unit int:
unitOne setBehaviour"SAFE"unitOne switchMove"standandsitdown"
or
unitONe setBehaviour"SAFE"
unitOne playMove "standandsitdown"
or i would just type one of the comands into the int in the unit menu and then just make a waypoint and set him in safe mod, non of ideas worked, what am i doing wrong here?
second trouble: how do i get a U.S. and a Russian flag on flag pole? heres what i typed: set FlagSide east and
set FlagTexture "usa_vlajka.pac" for the U.S one for the soviet set FlagTexture "russia_vlajka.pac"

Chris Death
Nov 16 2001, 00:00
for the flag thing
enter following at init field of the flag
this setflagtexture "usa_vlajka.pac"

if you want to get a flag on it at a later
time (by waypoint,script or trigger activation)
name the flag and type the name of your
flag instead of "this"

Red Oct
Nov 16 2001, 00:40
thanx but now how do u get the russian flag hanging? i typed russia instead of usa but i get a error message at the start of the game saying russia flag texture not found?

Chris Death
Nov 16 2001, 00:44
US flag = usa_vlajka.pac
Soviet flag = rus_vlajka.pac
Red Cross flag = vlajka_hosp_plus.paa
Rebell flag = guba_vlajka.pac

:cool:

Chris Death
Nov 16 2001, 00:50
unitOne setBehaviour"SAFE"unitOne switchMove"standandsitdown"
-----------------------------------------------
did you use the ";" btw your 2 different
commands? if not then do

Red Oct
Nov 16 2001, 02:10
thanx very much http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/wink.gif

Red Oct
Nov 16 2001, 02:49
well the flag issue is solved but, im still having no luch w/ the making a troop sitdown, (i hope im not annoying you with my endless failures) but i put ; in so now in the unit int box it goes something like this:

unitone setbehaviour"safe"; unitone switchmove "sitdown"
or
playmove "sitdown"

non works, do i need to put a triger? if soo how do you do this cuzz im clueless with this editing http://www.flashpoint1985.com/ikonboard3/non-cgi/emoticons/sad.gif

Viper UK
Nov 16 2001, 02:53
Try "Effectstandsitdown" and it should work.

Red Oct
Nov 16 2001, 18:33
so just to clarify, this is what i would put in unit int box
all together

unitone setbehaviour"safe";unitone "effectstandsitdown"

Fenris
Nov 16 2001, 21:23
Nope (I'm amazed I'm the first person to be able to help... must be starting to understand!!).

It should be (in init field)

this setbehaviour "SAFE"; this switchmove "effectstandsitdown"

If you are doing it in the editor then just submit the unit name for this I think. You can also use playmove to make them animate it rather than just go straight to it...

Think that should work... if not feel free to hurl abuse!

Fenris

Red Oct
Nov 17 2001, 11:54
ok i got it to work thanx