Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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