Home   Help Search Login Register  

Author Topic: SetWPPos and SetDamage in MP  (Read 1340 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
SetWPPos and SetDamage in MP
« on: 22 Mar 2005, 20:13:39 »
If using SetWPPos in multiplayer does the command need to be executed on all clients or just the server?

Does the SetDamage command automatically sync between clients?  For example, if I SetDamage = 1 on the server to a static Map object, such as a bridge, will the bridge be destroyed on all clients?
« Last Edit: 22 Mar 2005, 20:14:23 by Mr.Peanut »
urp!

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:SetWPPos and SetDamage in MP
« Reply #1 on: 22 Mar 2005, 20:27:54 »
1) Think it needs to be set on all clients, but I'm not sure.

2) Set damage will have the same effect on all computers. It's completely MP safe.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

StonedSoldier

  • Guest
Re:SetWPPos and SetDamage in MP
« Reply #2 on: 22 Mar 2005, 21:26:06 »
given my experience of setpos i would presume its ok just running it on one machine and it should broadcast on its own

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:SetWPPos and SetDamage in MP
« Reply #3 on: 22 Mar 2005, 22:19:31 »
static objects are local to all, so if you use a specific client side script or server script to damage one, all should see the results

as for the waypoint question, this is local to the group

if the group leader is a player then the group is local to the player

not sure what happens if the group leader is AI and a player is in the group,
in this case the waypoint is definiotely local to the player but not sure if it is local to the server too
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

StonedSoldier

  • Guest
Re:SetWPPos and SetDamage in MP
« Reply #4 on: 22 Mar 2005, 23:17:19 »
locality is a strange thing, i would assume waypoints would been the same as triggers