Home   Help Search Login Register  

Author Topic: Crates  (Read 1012 times)

0 Members and 1 Guest are viewing this topic.

24Gamer

  • Guest
Crates
« on: 23 Jun 2004, 17:05:55 »
I Have multiple crates on the map and sometimes the crates appear empty and yet other times the appear normal, and players sometimes have to wait a short period of time before the weapons reapear. why is this? (i don't think its my code), lag?
is there a solution?

24Gamer

  • Guest
Re:Crates
« Reply #1 on: 23 Jun 2004, 20:50:41 »
anyone?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Crates
« Reply #2 on: 24 Jun 2004, 00:34:10 »
If you are filling the crates via either the Init.sqs or a script run from the init.sqs, place a 1 second wait period before you load these crates.

Reason is, sometimes if there are a lot of units / objects placed on the map in the mission editor, it can be some time before the engine loads all these units into memory  from the mission.sqm and in some cases the init.sqs and other scripts can run commands on something that isnt seen as being there yet
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123