Home   Help Search Login Register  

Author Topic: Initialization Fields  (Read 854 times)

0 Members and 1 Guest are viewing this topic.

MSpencer1313

  • Guest
Initialization Fields
« on: 13 Feb 2003, 01:49:01 »
I'm trying to do basic scripting and addind weaps. I'm only basic w/ the editor so go easy on me. Where is the initialization field???

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Initialization Fields
« Reply #1 on: 13 Feb 2003, 01:57:51 »
First off, make sure you are using the editor in its "advnced" mode.  Dont be fooled by the name, it makes it no harder, but it does give you more options.

Now place a unit on the map (F1), and then double click it.  This brings up the unit propeties.  The Initialisation field (or init) is the long line with initialisation written next to it.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Initialization Fields
« Reply #2 on: 13 Feb 2003, 02:40:15 »
First off, make sure you are using the editor in its "advnced" mode.  Dont be fooled by the name, it makes it no harder, but it does give you more options.

Now place a unit on the map (F1), and then double click it.  This brings up the unit propeties.  The Initialisation field (or init) is the long line with initialisation written next to it.


...and in this INIT field ya could put the codes that will add some goodies to your unit  :)


Try these :

RemoveAllWeapons This

 :D that would empty the unit's pockets, so to speak. But to add new stuff would take:

This AddMagazine "m16"; this AddMagazine "M16"; This AddWeapon "M16"; This AddWeapon "Binocular"

Now, the guy would have an M16 with two mags, and the gun would be LOADED because you typed the ammo codes before typing the "addWeapon" code!  :-*

Just note that each command has a semicolon ; which seperates it from the following code(s)  :)

« Last Edit: 13 Feb 2003, 02:42:01 by Tomb »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Initialization Fields
« Reply #3 on: 13 Feb 2003, 02:41:02 »
There's nothing much to add to Icarus' most excellent answer, but just for the sake of completeness ..... it should say "Advanced" in yellow at the top right of the mission editor map screen..... if it says "Easy" then left click on it once.

Edit:  Or Tomb's
« Last Edit: 13 Feb 2003, 02:41:52 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Initialization Fields
« Reply #4 on: 13 Feb 2003, 02:42:39 »
or macguba's  8)

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Initialization Fields
« Reply #5 on: 13 Feb 2003, 02:48:46 »
Or mine.  Oh wait, we are going round in circles.

mcnils

  • Guest
Re:Initialization Fields
« Reply #6 on: 13 Feb 2003, 04:04:03 »

lool ^^

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Initialization Fields
« Reply #7 on: 13 Feb 2003, 12:27:55 »
@ Icarus

* in old voice

i noticed u have talent on first sight son  :o - how did u discover dat its goin in circles ???  :o

*in normal voice

 ::)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta