Arma 3
hunne 2013 年 11 月 3 日 下午 2:17
check if player is in cargo and start moving
hey there,

been some time i´ve fiddled around with the editor and i´m stuck even though i´ve read the available script commands over and over i cannot make heads or tails of it
i would like the player to enter a car and after that it should drive me on the runway.
now, waypoints can either be true or false but i don´t see any command or query that returns boolean value needed for the waypoint to be true/false...

something like "player1 isincargo car1" ==true/false

I wished scripting would be a little bit more comprehensive like in the freespace (1 or 2) editor (basically some sort of Space-ArmA)

is there a collection of frequently used scripts anywhere?
< >
正在显示第 1 - 2 条,共 2 条留言
GeckoNoTail 2013 年 11 月 5 日 下午 4:05 
Hi,

Place car. Name it (car1 for example). Give it a move waypoint just infront of it. Give it another waypoint at airfield with Select Type Transport Unload. Name your player (player1 for example). Create a trigger and link it to first waypoint. In the trigger Condition text field put player1 in car1
When you enter the car it will now move to last waypoint and kick you out.
If you want the car to drive off after you have exited then just give it another waypoint.

If more than 1 player then put:
player1 in car1 and player2 in car1 and player3 in car1 etc etc
(the car will only go when all players are in).

Hope that helps.
最后由 GeckoNoTail 编辑于; 2013 年 11 月 5 日 下午 4:07
hunne 2013 年 11 月 8 日 上午 3:00 
that simple? great^^ thx a lot
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

发帖日期: 2013 年 11 月 3 日 下午 2:17
回复数: 2