Jump to content
Sign in to follow this  
3inar

hight placement? and Single unit setting of trigger?

Recommended Posts

ok so I looked around but coldent find any thing about my questions.

ok so basicly I was wondering how to place units in different heights,

1: Making a units start at a topp floor of a building?

2: how to make the Big propships stay above water?

3: How to place units ontop of the shipps?

also got another question, is there some way to make just a singel unit sett of a triger instead of a whole side?

example: (unit name is Bernard_1) I whant to make this unit be the only one the trigger will activate for,ex. like when entering the triger "this settfuel, 1;"

I know I culd just add the name like "Bernard_1 settfuel, 1;" but this wold then be axidently made if someone of the triggers choosen side just hapened to walk right thrue the trigger :/.

/// Best wishes 3inar :)

Share this post


Link to post
Share on other sites

Setting in height (bold) for the init-box: You have to do some tests to let someone start on top of a building, etc.

this setPos [(getpos this select 0),(getpos this select 1),((getpos this select 2) [b]100[/b])]

The Unit thing: Syncronize the Unit with the trigger and youll have more options in the Pulldown-"Activation-by"-menu...

Share this post


Link to post
Share on other sites
How do you synchronize a unit with a trigger?

I wouldn't call it synchronizing the unit to the trigger because you don't use the synchronize tool in the editor to do what you are describing. To get the the trigger to only work for one group/unit you group the trigger to the group/unit. I think I read that in the manual/wiki. Make sure you read it. Good info in there that will save you a lot of time.

Share this post


Link to post
Share on other sites
Setting in height (bold) for the init-box: You have to do some tests to let someone start on top of a building, etc.

this setPos [(getpos this select 0),(getpos this select 1),((getpos this select 2) [b]100[/b])]

The Unit thing: Syncronize the Unit with the trigger and youll have more options in the Pulldown-"Activation-by"-menu...

Awsome thanks for the hellp! :)

Got one small problem with the init code tho, When I place "this setPos [(getpos this select 0),(getpos this select 1),((getpos this select 2) 100)]" in the init line and then press ok it comes upp a "missing )" so when I add a")" it then tells me that i am missing a "[" and so on and it just continues like that :/

Share this post


Link to post
Share on other sites

Shouldn't it be this setPos [(getpos this select 0),(getpos this select 1),((getpos this select 2) + 100)] ? 100 needs a plus before it?

Share this post


Link to post
Share on other sites
Shouldn't it be this setPos [(getpos this select 0),(getpos this select 1),((getpos this select 2) + 100)] ? 100 needs a plus before it?

Yepp thanx :) workes like a charm :P

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  

×