Home   Help Search Login Register  

Author Topic: Please explain this  (Read 414 times)

0 Members and 1 Guest are viewing this topic.

STGN

  • Guest
Please explain this
« on: 05 May 2003, 12:16:04 »
Spawn a vehicle, as soon as a unit comes below 1.2m under sea-level. Move the unit in the driver position. Let the vehicle remove itself from the game, as soon as it comes over a certain height.

Please tell me in ditails What this is and how to do it. :-[
STGN

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Please explain this
« Reply #1 on: 05 May 2003, 18:56:20 »
It WOULD be a great help if ya simply enlightened us in yer secret mission instead of all this hushHush  ::)


waddup with "a certain vehicle" or "a certain height"  ???

Do ya wanna get in some boat to prevent any drowning accidents or wtf is going on here?!


 :) Seriously, tell it man! Don't be so hushy! It's very hard to be hepful if we don't know sh*t  :-X

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Please explain this
« Reply #2 on: 05 May 2003, 20:36:41 »
wheaooell ummh hmm..

#start

_pheight = getpos player select 2
?(_h < 1.2): certainvehiclename = "certainvehiclestringname" createVehicle getpos player; player moveindriver certainvehiclename; goto "remove"
~0.1
goto "start"

#remove
_bheight = getpos certainvehiclename select 2
?_bheight > certainheight: deletevehicle certainvehiclename; exit
~0.5
goto "remove"

syntax not guarenteed  :P
« Last Edit: 05 May 2003, 20:39:17 by Artak »
Not all is lost.