I used the code:
Object Handover = token.FirstHandover;; double staytime = getstat(Handover,"Staytime",STAT_STAYTIME,1); if(staytime > 0.5) { return 1; } else { return 2; }
The token.firsthandover, is the token label given the value of the object in 3d.
The value of Staytime i get is very big, even when the delay is 4 seconds.
Why is this happening?
Thanks in Advance!