Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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