TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#map move (exit command)

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Azirek



Joined: 29 Jan 2012
Posts: 28

PostPosted: Wed Mar 07, 2012 4:56 am    Post subject: #map move (exit command) Reply with quote

Hi! I am writing a script to moving a map when I walking with a team.

I have a 2 rooms.
[A] -- [B]

In the room A i set exit:
Code:
#map exit e command {kladka}


Then I wrote the action:

Code:
#action {Wraz z %1 podazasz za %2 na kladka.}{#map move kladka}


But it doesn't work.
How write #map move correct?
_________________
GNU Linux Slackware Current, Tintin++ 2.00.7 and 2.00.9
Back to top
View user's profile Send private message
dalton



Joined: 26 Jan 2012
Posts: 30

PostPosted: Wed Mar 07, 2012 7:55 am    Post subject: Reply with quote

should be {#map move e}
Back to top
View user's profile Send private message
Azirek



Joined: 29 Jan 2012
Posts: 28

PostPosted: Wed Mar 07, 2012 8:25 am    Post subject: Reply with quote

dalton wrote:
should be {#map move e}


No. I can't do it.

In my map exit 'kladka' should move me in different sides, not only e.

For example:

[A] -- [B]

Exit from A to B: kladka
Exit from B to A: kladka

I need to use alternatives exit names. Is this possible to use
#map move kladka in next release?
_________________
GNU Linux Slackware Current, Tintin++ 2.00.7 and 2.00.9
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Mar 07, 2012 5:40 pm    Post subject: Reply with quote

map move work with the exit name only.

Either set the exit name to kladka, or create a 2nd exit named kladka.
Back to top
View user's profile Send private message Send e-mail
Azirek



Joined: 29 Jan 2012
Posts: 28

PostPosted: Thu Mar 08, 2012 5:51 am    Post subject: Reply with quote

Oh, that's no good.
I have about 750 rooms with different exit names than e,w,ne, etc.
Changes would take time.

This second idea seems to be only solution.

Code:
Exit name:        e Exit vnum:    10481 Exit flags:       0 Exit command: kladka
Exit name:    kladka Exit vnum:    10481 Exit flags:       0 Exit command: kladka


Is there any chance that #map move in the future will be works with "exit command"?
_________________
GNU Linux Slackware Current, Tintin++ 2.00.7 and 2.00.9
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group