Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Creating things  (Read 1884 times)

0 Members and 1 Guest are viewing this topic.

seanver

  • Guest
Creating things
« on: 25 Aug 2002, 03:10:47 »
I've seen over here that its possible to create vehicles such as choppers with a command in a script, instead of having to create one in the editor. How can I do that? And how can I create an OH-58 Kiowa? (I don't have a list of vehicles)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Creating things
« Reply #1 on: 25 Aug 2002, 03:15:34 »
Put this in a trigger :

MyChop  = "OH58" createvehicle getpos G1

So just put a GameLogic, named "G1", at the spot where it should pop up  :-*

To make it join you :

[MyChop] join PlayerName

or to move it :

MyChop Domove Getpos (something) etc.

seanver

  • Guest
Re:Creating things
« Reply #2 on: 25 Aug 2002, 03:21:26 »
Thanks