|
mo24 Wanderer
Joined: 31 Jan 2006 Posts: 55
|
Posted: Wed May 10, 2006 9:19 pm
Feature that would be useful in next zmud version... |
A function or command that does the same thing as 'Disable all portals' in the portals menu of the mapper would be very useful.
It would be very convenient to have a way to easily disable all portals and then re-enable them back to their previous state on demand through script.
It can be done now with a very lengthy script, but it is very inefficient. You must know all of the portal names, and you must disable each of them, storing their prior values, and then re-enable each of them with those values. A very lengthy script. I don't think there is any better way to do this currently. |
|
|
|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Thu May 11, 2006 11:17 pm |
id love this as well
|
|
|
|
NowhereMan Beginner
Joined: 09 Dec 2004 Posts: 10
|
Posted: Fri May 12, 2006 6:54 pm |
i agree.
however, looping to disable/enable your portals shouldn't be that difficult
i keep all of my portals in a database (po) with portal name (&Key) and level (&Level). i define enabled and disabled views in that db using formula filters of %portalenable(&Key)==1 and %portalenable(&Key)==0, respectively.
my enable portals alias:
#LOOPVIEW disabled|po {
#NOOP %portalenable(&Key,%if(&Level<=@score.Level,1,0))
}
disable alias:
#LOOPVIEW enabled|po {
#NOOP %portalenable(&Key,0)
}
of course, keeping the db in sync can be a pain. |
|
|
|
|
|
|
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
|
|