Home   Help Search Login Register  

Author Topic: HELP ;D  (Read 607 times)

0 Members and 1 Guest are viewing this topic.

Deadman

  • Guest
HELP ;D
« on: 27 Dec 2002, 17:52:33 »
im currently working on a map. Its gonna be like a rpg and i need to beable to createunits at certain spot around the map.

I`ve had no problems creating vehicles with the line
car1 = "Mondeo" createvehicle getpos a1.

Now when i tried  man1 = "SoldierW" createunit getpos a1
nothing happened.

I was told by someone that its best to use arrays
but im unsure how they work.

You can declare personal money in the init.sqs.
And  you add to it and remove from it as you need to.
Do arrays work like this  ??? ??? ???

Can anyone help me understand using arrays a bit better   ;D
« Last Edit: 27 Dec 2002, 17:53:47 by Deadman »

Gameer_77

  • Guest
Re:HELP ;D
« Reply #1 on: 27 Dec 2002, 20:56:17 »
First, its "soldierWB".

Second, search for god's sake >:(

Gameer

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:HELP ;D
« Reply #2 on: 28 Dec 2002, 03:36:28 »
For usage of all commands, refer to the Command Reference.

http://www.flashpoint1985.com/docs/comref_102002/data/comref.html

You'll find the answer to your createUnit question there.

As for your arrays question, I'm not really sure what you're asking.  Yes, you can add to or subtract from arrays.  For a better understanding, again refer to the Command Reference.  Specifically, check out the various commands that manipulate arrays.
Ranger