Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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