Home   Help Search Login Register  

Author Topic: zombie problem  (Read 1895 times)

0 Members and 1 Guest are viewing this topic.

RedHouse

  • Guest
zombie problem
« on: 06 Oct 2005, 16:16:54 »
well ive made a zombie type mission/scripts that work fine in SP but the only problem is that it doesnt move at all in MP it just stands still.

Is it a something with the doMove command and how would I go about fixing this.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:zombie problem
« Reply #1 on: 06 Oct 2005, 17:49:18 »
a LOT more detail is required before you can expect a relevant answer. how about posting the script in an attachment?

RedHouse

  • Guest
Re:zombie problem
« Reply #2 on: 06 Oct 2005, 19:35:10 »
well thats all i can say really, it just doesnt move the same happend to some paratroopers on i coop i made i used this script

; modefied script from BIS
; Parachute

_aunits = units (_this select 0)
_heli = _this select 1
_i = 0
_j = count _aunits

#Here
(_aunits select _i) action ["EJECT",_heli]
unassignvehicle (_aunits select _i)
[(_aunits select _i)] join GrpNull
(_aunits select _i) doMove getpos base
_i=_i+1
~1
?_j>_i:goto "Here"

exit


where base is the name of where i want them to move, as soon as they ejected they all just stood there when they landed. I think its something to do with the domove command has to only be executed on 1 pc, like the server or something. how can i go about doing this?

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:zombie problem
« Reply #3 on: 06 Oct 2005, 23:08:44 »
Quote
(_aunits select _i) doMove getpos base

Is >> base << a global variable name for a position or is it the name of a marker?  If it is the name of a marker then you need:
Code: [Select]
(_aunits select _i) doMove getMarkerPos "base"
If it is the name of a position variable then you need:
Code: [Select]
(_aunits select _i) doMove base

Offline Trapper

  • Honoured Contributor
  • ***
  • I'm a llama!
Re:zombie problem
« Reply #4 on: 07 Oct 2005, 00:47:49 »
Zombies? - So you airdrop zombies? Or are these normal soldiers? :)

Are you using Unified Zombie Mod Zombies:
They use domove in their ai scripts, so external domove commands  for zombies should be overriden. And if you give them no targets, they don't move at all.
Hm, but you said in SP they move..
Do you have the neccessary game logic, named SERVER?
« Last Edit: 07 Oct 2005, 00:48:51 by Trapper »

RedHouse

  • Guest
Re:zombie problem
« Reply #5 on: 07 Oct 2005, 01:32:41 »
im useing no addons and im just makeing my own sort of zombies like in nogova virus, but all the scripting works perfectly except when i try it in MP the zombies dont move at all.
And by the way that airdrop thibg was just an example its the same principle as getting my zombies to move in MP. I definatly think its something to do with the doMove command

@raptor
its definatly not a marker
and im pritty sure its not 'domove base'

RedHouse

  • Guest
Re:zombie problem
« Reply #6 on: 09 Oct 2005, 16:55:02 »
i fixed it by adding a delay after the unit was created but it worked at first then half way through the mission the same problem came up