Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Any help greatly appreciated #326078
05/30/10 09:38
05/30/10 09:38
Joined: May 2010
Posts: 8
A
Alex8888 Offline OP
Newbie
Alex8888  Offline OP
Newbie
A

Joined: May 2010
Posts: 8
Hi all, I am just going to be brief as I'm writing this from my phone but I just need to understand c_scan better. I'm building a game at the moment and it is progressing nicely but recently I had added some AI. What's happening is when I have move within scan range of the enemy the engine slows down greatly and shortly after freezes. Before this occurs however the c_scan itself appears to work but just runs extremely slow. The other and final issue I have is once the event occurs and the you entity has been detected is the enemy should detach from its patrol path, and then begin attack sequence. This is not occuring, only the enemy fires bullets at the player as it should but even then this causes the freezing. I was hoping someone might have an idea off the top of their heads and save me posting a snippet first. Any help would be great!

Re: Any help greatly appreciated [Re: Alex8888] #326083
05/30/10 10:02
05/30/10 10:02
Joined: Jul 2008
Posts: 223
Pittsburgh
The_Clyde Offline
Member
The_Clyde  Offline
Member

Joined: Jul 2008
Posts: 223
Pittsburgh
you may have an infinite or very long loop somewhere- or are doing something many times during each frame that really should only happen once in a while...

but it sounds like the problem is in some code that activate when the player is scanned, so if you post something post that grin


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1