Home   Help Search Login Register  

Author Topic: zombie addon  (Read 1011 times)

0 Members and 1 Guest are viewing this topic.

Headhunter

  • Guest
zombie addon
« on: 17 Aug 2004, 16:19:53 »
Anyone knows how to get the Unified Zombie Addon to work, i have tried to place a game logic like it says in the readme but they just stand and look stupid, anyone who can help?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:zombie addon
« Reply #1 on: 17 Aug 2004, 21:06:29 »
Did you follow ALL the instructions in the readme? Take a look at it again, because I know you have to make an array of units that will be targeted by the Zombies.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Headhunter

  • Guest
Re:zombie addon
« Reply #2 on: 18 Aug 2004, 10:45:54 »
what do you mean??? i have seen in the readme again and there is something about arrays but what are they and how do you get them to work???

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:zombie addon
« Reply #3 on: 18 Aug 2004, 22:03:44 »
An array is a list of things--in this case, units. To make an array, you would put something like this in an init field:

ArrayX = [player, bob, soldier2, johnny]

Now ArrayX holds those 4 units. So just replace "ArrayX" with the name of the array required by the zombie addon, and put in the names of all the units you want to be attacked by the zombies between the brackets.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Headhunter

  • Guest
Re:zombie addon
« Reply #4 on: 19 Aug 2004, 20:09:30 »
it works now, thanks guys