Openkore.com

OpenKore Forums
It is currently 08 Dec 2019, 15:11

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Send a delay/pause in Microsecond on an automacro ?
PostPosted: 25 May 2017, 05:11 
Offline
Noob
Noob

Joined: 23 May 2017, 07:27
Posts: 10
Hey there, so basicaly, i have a problem at putting a microsecond instead of a second at 'Pause" in automacros, it just never works when i tried to put like 0.4 or 0,4 or .4 , i also tried this in my automacro
Code:
[
$x = 400
$y = 1000
$z = @eval ($x / $y)
]
pause $z

lol, didnt work aswell, it seems that the pause is not recognized if its under 1 second , i want to play with microseconds badly :(, i laso tried to check the timeouts, but same, if its under 1 second, its like it has 0 delay, for exemple :

ai_skill_use 0.1 <====> ai_skill_use 0.9 , they are the same, nothing changed ^^, but if you do this :
ai_skill_use 1, here, it will work fine, but only if i put a second......not a microsecond

Anyway, its kinda boring, i think it must be possible to change that, but i'm not an expert in Kore, i just like to create news fun scripts ! ( and i want the Microsecond T_T )

Thank you !


Top
 Profile  
 
 Post subject: Re: Send a delay/pause in Microsecond on an automacro ?
PostPosted: 14 Jun 2017, 22:16 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1215
Location: Brazil
Cientific notation

1000 = (10 x 10 x 10) * (1) (positive) = 10^3 (3 of three zeroes)
-1000 = (10 x 10 x 10) *(-1) (negative) = 10^-3 (3 of three zeroes)

Why not multiplies for 0,001 ? (3 zeroes)

$z = @eval ($x * 0.001)


Can u get the 0,4 as result ?!
If you can't get. Try not using the @eval.

$z = $x/$y

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

viewtopic.php?f=10&t=16117

Thanks for this Eternal! =D <3<3


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group