Home   Help Search Login Register  

Author Topic: Whats the delay between trigger checks?  (Read 887 times)

0 Members and 1 Guest are viewing this topic.

Offline Zayfod

  • ECP Team
  • *
  • Llama, softest natural fibre in the world.
Whats the delay between trigger checks?
« on: 18 Feb 2003, 14:49:36 »
Just curious cause I have certain scripts that count enemy numbers and check the knowsabout of each unit in extremely fast loops with a pause of only 0.015 and I dont wanna cause unnescessary lag in game.

So I thought if I new how often a trigger checks its self it would help be gauge how far I could "push the envelope" so to speak.

As a side note the scripts appear to be working perfectly fine but I have no way of checking frame rate, as it may have gone down a bit--but really hard to tell.

anyone? ::)
"I have come here to kick ass and chew bubble gum......an I'm all outta bubble gum!"

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Whats the delay between trigger checks?
« Reply #1 on: 18 Feb 2003, 23:57:38 »
I don't know, but I do know that I read about it somewhere.... wish I could remember where, sorry :-[
Plenty of reviewed ArmA missions for you to play

Offline Zayfod

  • ECP Team
  • *
  • Llama, softest natural fibre in the world.
Re:Whats the delay between trigger checks?
« Reply #2 on: 19 Feb 2003, 00:32:27 »
Yer cheers dude.

I read about it once too ages ago but Im buggered if I can find it now ??? Searched high an low.

Black_Feather? LCD? Sui? Anyone?
"I have come here to kick ass and chew bubble gum......an I'm all outta bubble gum!"

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Whats the delay between trigger checks?
« Reply #3 on: 19 Feb 2003, 00:43:28 »
me thinks (but dont qoute me on dat ;D) dat it bout 1 in 0.3-0.5 secs ;D
- i got dis nums just by puting a trig and leting it teling me datim wen it activated ;D

so it cant b more dan dat ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Zayfod

  • ECP Team
  • *
  • Llama, softest natural fibre in the world.
Re:Whats the delay between trigger checks?
« Reply #4 on: 19 Feb 2003, 01:13:47 »
Cheers dude,

I just got fraps 1.9 so Ill check it with that also.

Like I said I cant actually see any difference but you never know.

If I find that checking enemy numbers and checking knowsabout of the enemy in a loop of 0.015 is causing any issues Ill let u know.

If it does cause any issues I may put a counter in the loop that counts the loops and only checks the numbers and knowsabout every second or 1.5 seconds ;D

Zay out
"I have come here to kick ass and chew bubble gum......an I'm all outta bubble gum!"

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Whats the delay between trigger checks?
« Reply #5 on: 19 Feb 2003, 16:29:38 »
Maybe i can bring up some light here;

I've startet a thread on October the 12th (took me ages
to find it), where i linked to a thread at BIS forum.

There SUMA (BIS-developer) explained that.


link to BIS forum thread:

http://www.flashpoint1985.com/cgi-bin/ikonboard301/ikonboard.cgi?s=3da749956048ffff;act=ST;f=7;t=20961


link to OFPEC thread:

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=2491

If you don't want to follow the links, here's the short
answer to your question: triggers are checked twice per second.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Whats the delay between trigger checks?
« Reply #6 on: 19 Feb 2003, 18:24:21 »
like i said ;D

1ce in 0.5 secs ;D

:wow:

im da bast ;D

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Zayfod

  • ECP Team
  • *
  • Llama, softest natural fibre in the world.
Re:Whats the delay between trigger checks?
« Reply #7 on: 20 Feb 2003, 01:55:47 »
Thanks Chris Death--I think that was a tough question to answer. ;D


LOL LCD good on ya mate  u were quite right, cheers ;D

O and by the way I can see no evidence at all of framerate loss when counting enemy numbers and checking knowsabout in a loop of 0.015.

7 AI are running the script simultaneously.

But in MP it may be another story.

Zay out
"I have come here to kick ass and chew bubble gum......an I'm all outta bubble gum!"