Home   Help Search Login Register  

Author Topic: Okay, here I go again, shells  (Read 475 times)

0 Members and 1 Guest are viewing this topic.

McFinnish

  • Guest
Okay, here I go again, shells
« on: 02 May 2004, 15:43:15 »
How can I create an shell125 to car? I want to make a carbomb and don't have no clue... Tried already from commandreference 1.8.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Okay, here I go again, shells
« Reply #1 on: 02 May 2004, 15:53:17 »
You name the car and use the camcreate command. For example

bomb1 = "shell125" camcreate getpos myturbominicooper

or in as script you should use a local variable to name the shell. For example

_bomb1 = "shell125" camcreate getpos poorbastardscar

if it's for multiplayer you must tell ofp to only create the shell on server, otherwise there will be so many shells as there are players. For example

Insert a gamelogic and name it as server. then in a script
?!local server: _bomb1 = "shell125" camcreate getpos turbomegascoda
or in a trigger
condition: !local server
on activation: bomb1 = "shell125" camcreate getpos fordsierrarules
Not all is lost.