Yoko

All sides of Injection
It is currently 2025-10-24 11:01:58

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-02-27 20:59:03 
Offline

Joined: 2005-06-18 15:55:25
Posts: 24
сам дошел что и как


Last edited by Boris on 2006-02-27 23:56:00, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-02-27 21:22:28 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
сделай два массива
TilesX, TilesY
Sub Walker(TilesX, TilesY)


Top
   
 Post subject:
PostPosted: 2006-02-27 21:33:48 
Offline

Joined: 2005-06-18 15:55:25
Posts: 24
Grin wrote:
сделай два массива
TilesX, TilesY
Sub Walker(TilesX, TilesY)

я думал об этом. но как сделать так что координаты брал именно так как у меня расположены ? просто если сделать два массива то он возмет сначала одну кординату Х и переберт все Y, но проблема в том что не все координаты достопны, некторы находятся так сказать в скале и туда дойти нельзя, соответсвенно скрипт зависнет


Top
   
 Post subject:
PostPosted: 2006-02-27 22:03:19 
Offline

Joined: 2005-06-18 15:55:25
Posts: 24
попытался сделать так
Code:
for k=1 to 85
Gx[k]=safe call f.ReadNumber()
Gy[k]=safe call f.ReadNumber()
uo.print('Idem kopat v to4ku X=' + str(Gx[k]))
uo.print('Idem kopat v to4ku Y=' + str(Gy[k]))
Walker(Gx[k],Gy[k])

но ходит почему токо к 1 координате


Top
   
PostPosted: 2006-02-28 01:50:10 
Offline

Joined: 2006-02-03 11:32:16
Posts: 256
Location: ND
От ЛЮБВИ убежать нельзя - она долго и терпеливо взращивается. В семье. Почитайте о том, что такое ЛЮБОВЬ на сайте www.realove.ru А вот от страсти- греховной и разрушающей страсти можно убежать, уд


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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:  
Powered by phpBB® Forum Software © phpBB Limited