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
6 registered members (TipmyPip, Niels, dBc, Ed_Love, 3run, 1 invisible), 17,577 guests, and 5 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
clamp() and integer() in event functions problem #453722
08/10/15 01:09
08/10/15 01:09
Joined: Jul 2015
Posts: 26
M
Mark430SR Offline OP
Newbie
Mark430SR  Offline OP
Newbie
M

Joined: Jul 2015
Posts: 26
Hi,

I had an issue concerning event functions (the ones set by entity.event). Can I use clamp() and integer() instructions in them? It doesn't work properly for one entity, but works fine for the others ....

Last edited by Mark430SR; 08/10/15 01:11.
Re: clamp() and integer() in event functions problem [Re: Mark430SR] #453735
08/10/15 10:05
08/10/15 10:05
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Hi,

What is precisely your error? This is a bit vague. If you show your code it would be easier to solve.

Besides that you can use almost all functions in events, just dont use stuff like ent_create and effect(), unless you put wait() before that, it creates memory errors I think.

Last edited by Reconnoiter; 08/10/15 10:05.

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