Home   Help Search Login Register  

Author Topic: Hard script to duplicate  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
Hard script to duplicate
« on: 02 Jan 2004, 21:41:13 »
help!
i have a mp script from the civ RPG/Crime city mod
it makes a yellow car apear at a flag pole if u select the action.
i want a red car to appear at a game logic called AA when you select the action "Take red shitbox"
thank you
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Hard script to duplicate
« Reply #1 on: 04 Jan 2004, 00:05:56 »
createunit it.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Hard script to duplicate
« Reply #2 on: 04 Jan 2004, 13:38:20 »

_car = "XXXX" createvehicle getpos YYYY
where "XXXX" is the classname for the vehicle
and
YYYY is the name of the gamelogic

if you have problems with the positioning because of the gamelogic, use an empty marker

the line would then look like

_car = "XXXX" createvehicle getmarkerpos "YYYY"

notice getpos changes to getmarkerpos and the "YYYY" have quotation marks around them


Ideally this should be done only by the server, and if is the case you should be ok with the gamelogic.

« Last Edit: 04 Jan 2004, 13:39:11 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123