Home   Help Search Login Register  

Author Topic: Lots of triggers and scripts. Will game lag, Mplay or Splay  (Read 672 times)

0 Members and 1 Guest are viewing this topic.

Cap

  • Guest
I have made a map CTF map that has in the regions of 20+ triggers and approx 5 scripts will this make the game lag over the internet or will it only lag if someone doesn't have a powerful processor or summit. Or does it not matter.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Lots of triggers and scripts. Will game lag, Mplay or Splay
« Reply #1 on: 24 Mar 2003, 08:29:12 »
depends on the connection the players are using and the pipe the server has.
depends also on how much units you have on your map.
depends on how your triggers and scripts work.. for example if you have 5 triggers with
#loop
~0.00001
goto "loop"
it will most certainly cause some lag.

but anyways, 20 triggers and 5 scripts doesn't sound too bad.
Not all is lost.

Cap

  • Guest
Re:Lots of triggers and scripts. Will game lag, Mplay or Splay
« Reply #2 on: 24 Mar 2003, 09:32:09 »
Ahh sweet, thanks Artak, 20 trigers sounds alot to me. Shows how much i know. Thanks

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Lots of triggers and scripts. Will game lag, Mplay or Splay
« Reply #3 on: 24 Mar 2003, 10:35:42 »
Scripts are not really a big lag creator, unless you have fast loops as Artak says.     Triggers check themselves about every 0.5s so there is rarely much point in having a loop much faster than this.    However, if you use

@ condition

a lot in your scripts that could create lag.

Waypoints are more of a problem than you might think.      Triggers can be a problem, but you need a more than 20.    Aircraft are the real killer when it comes to lag, followed by vehicles.    Vehicle type can be important - if you have 7 different types of tank in your mission it will run slower than if you only have 2.    
Plenty of reviewed ArmA missions for you to play

Cap

  • Guest
Re:Lots of triggers and scripts. Will game lag, Mplay or Splay
« Reply #4 on: 24 Mar 2003, 10:39:40 »
Ahh nice 1. i take it that also if you have 20 different types of guns in your mission it will lag more than if you have 2.  Cool thanks guys. ;D