Yoko

All sides of Injection
It is currently 2024-04-19 14:35:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Howto ??
PostPosted: 2004-04-14 22:13:59 
Offline

Joined: 2004-04-14 22:08:20
Posts: 16
Store variables ??

what i want to do is like..

Get my X and Y once, and store it (like %firstX and %firstY on Euo).
then i wait 1000ms
and get my X and Y again

i compare the results
2ndX - 1stX = result 1
2ndY - 1stY = result 2

if result 1 > 0 && result 2 > 0 then
if result 1 > result 2 then

print("You walked"+"STR(result 1)"+"tiles")

else

print("You walked"+"STR(result 2"+"tiles")
endif
if result 1 > 0 && result 2 < 0 thein
result 2 = result 2 * -1
.
.
.
.
.

its like a Tiles/sec checker. but I DUNNO HOW TO STORE VARIABLES :(


Top
   
 Post subject:
PostPosted: 2004-04-15 07:57:48 
Offline

Joined: 2004-04-04 07:39:27
Posts: 18
maybe:
VAR result1,result2
?


Top
   
 Post subject:
PostPosted: 2004-04-15 20:38:25 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
scripting.txt in injection folder


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 36 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited