Home   Help Search Login Register  

Author Topic: How do i make a INIT?  (Read 542 times)

0 Members and 1 Guest are viewing this topic.

DarkCell

  • Guest
How do i make a INIT?
« on: 30 Jul 2003, 20:09:27 »
I have a Ammo Crate Script but before it works I need a  to put the script into a INIT field  WHAT IS A INIT???
HOW DO I MAKE ONE? OR WHERE CAN I FIND IT??
Plz tell me :(

USAGE:
As usual, put the call to the script into the init field of an ammocrate or veichle from EMPTY front
REQUESTED VECTOR:
[CrateN, [WeapVector], WeapQty, AmmoQty]

EXAMPLE:
[this, ["HK", "LAWL", "KOZB"], 5, 9] exec "ammocrate.sqs"

What do I have to do with this? plz help me! ???

Gooner861

  • Guest
Re:How do i make a INIT?
« Reply #1 on: 30 Jul 2003, 20:15:06 »
The init field is in the players section, double click to make a unit and hlaf way down there is a field called initializiation where you can start ur scripts from.
So u cud put [] exec "scriptname.sqs".

DarkCell

  • Guest
Re:How do i make a INIT?
« Reply #2 on: 30 Jul 2003, 20:21:49 »
THNX for helping me  ;D