Home   Help Search Login Register  

Author Topic: Mission parameters-how to?  (Read 410 times)

0 Members and 1 Guest are viewing this topic.

rOk

  • Guest
Mission parameters-how to?
« on: 30 Jun 2004, 05:00:16 »
Hi all!

Anyone knows how to set mission parameters as time, weather, mode of transport etc. which the player(s) can choose in multiplayer lobby for example. I know you have to write them down in init and description, but that's about it.

And how to spawn empty vehicles at a certain height-preferably when they are killed or not present in a certain area for an X amount of time.
Thanks


                                                                     rOk

ponq

  • Guest
Re:Mission parameters-how to?
« Reply #1 on: 01 Jul 2004, 11:56:32 »
you're first question has been answered and explained nicely in this thread: http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=16734

2nd question, check the editors depot for vehicle spawns.

you'll need to understand at least the CreateVehicle command, like in this:
Code: [Select]
_pos = getpos bmp4
_skill = difficulty
_tank = "T80res" createVehicle getPos bmp4
Where bmp4 is either an object or a gamelogic.

Make sure you run spawn scripts on the server only.


rOk

  • Guest
Re:Mission parameters-how to?
« Reply #2 on: 01 Jul 2004, 14:26:44 »
Thanks for the tip, but I've tried four respawn scripts already, and each of them failed to put a helicopter or a plane at the correct position(carrier deck)

For some reason, one worked perfectly with an UAZ, but not with flying craft!?