lever to block possible?
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
lever to block possible?
I would like to know if it would be possible to make that a lever is to block that it cannot be to lower, until an action makes it possible to lower, I have to test but that does not go, somebody could help me
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
Re: lever to block possible?
I'm guessing you have a lever that it (pointing) up, on click it is to stay (pointing) up, unless the heroes have completed/finished a different action or task.
Clone a wall_item, rename it (eg fake lever) and give it the image of your lever 'up'. Place this on your wall as active/visible.
Place the real lever on the same wall have this as inactive/invisible, and set the triggers and actions of this to what you want, eg triggered by hand, deactivate, targets the door or wall.
Have your action eg place item in alcove (in a different part of your dungeon), this alcove is a trigger to toggle the fake and real levers.
You may want the action to trigger a relay before the fake and real levers.
If you mean Action such as Attack Method, that is a little more complicated.
Clone a wall_item, rename it (eg fake lever) and give it the image of your lever 'up'. Place this on your wall as active/visible.
Place the real lever on the same wall have this as inactive/invisible, and set the triggers and actions of this to what you want, eg triggered by hand, deactivate, targets the door or wall.
Have your action eg place item in alcove (in a different part of your dungeon), this alcove is a trigger to toggle the fake and real levers.
You may want the action to trigger a relay before the fake and real levers.
If you mean Action such as Attack Method, that is a little more complicated.
It's not a bug in the program, I've just gone and done something weird.
Re: lever to block possible?
can you make me an example a .txt or other? thank you
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: lever to block possible?
Is that right Trego? Can't you just have a normal lever and set it to inactive? Why the need to clone?
Re: lever to block possible?
I think the 'toggle' function toggles the graphic instead of toggling it invisible and visible if I remember correctly. I could be mistaken.
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: lever to block possible?
TOGGLE is for visibility.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Re: lever to block possible?
Yeah, i just thought the engine went weird with alternate graphics items and toggled their state instead of visiblility. Maybe it was something else I'm thinking of....their was some strange exception somewhere...
Re: lever to block possible?
The clone will mean that the lever stays up, ie doesn't change to its alternate graphic on click to the down graphic. I think that was what was wantedGambit37 wrote:Is that right Trego? Can't you just have a normal lever and set it to inactive? Why the need to clone?
Inactive does mean invisible (although as said there could be exceptions).
It's not a bug in the program, I've just gone and done something weird.
Re: lever to block possible?
somebody who would be to do it could make me an example in .txt. or other thank you very much
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: lever to block possible?
I think that you're spot on the money Trego. I use 2 clones though, one for the down graphic and one for the up. Then you have one start out as inactive, and use TOGGLE to flip between the two. Just watch out... occasionally, this happens:
They activate, then they flip (toggle) and the same mouse click triggers the "new" switch, causing them to flip back.
They activate, then they flip (toggle) and the same mouse click triggers the "new" switch, causing them to flip back.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Re: lever to block possible?
Sorry I'm away from my RTC editor at the moment (due to holidays and in-laws visit), but i can do this if someone else hasn't by the time I get back to it.RAF68 wrote:somebody who would be to do it could make me an example in .txt. or other thank you very much
That would make it easier, but then will this new 'down' lever be able to clicked again to reverse its action or will it be locked on the down image?Lord_BoNes wrote:...2 clones ...
It's not a bug in the program, I've just gone and done something weird.
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: lever to block possible?
If you just toggle the two objects... so you place both objects on the one wall, one inactive. Then toggle BOTH of them, the one that was visible, becomes invisible and vice versa. If you want to flip back, you just make the second switch work like the first (in reverse where needed).
The issue is... for EG: you have the up one activate, the up becomes inactive, the down becomes the active one, then THE SAME MOUSE CLICK triggers the down switch, and it flips back INSTANTLY! In this case, the switch doesn't even appear to change, but it DOES trigger twice.
The issue is... for EG: you have the up one activate, the up becomes inactive, the down becomes the active one, then THE SAME MOUSE CLICK triggers the down switch, and it flips back INSTANTLY! In this case, the switch doesn't even appear to change, but it DOES trigger twice.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Re: lever to block possible?
do I have already to test that Lord bones but doesn't that go, you cannot make me an example Lord bones?
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
- Lord_BoNes
- Jack of all trades
- Posts: 1064
- Joined: Mon Dec 01, 2008 12:36 pm
- Location: Ararat, Australia.
Re: lever to block possible?
In all honesty, I've been sick for more than 10 days now... I WILL make you an example map, I just don't feel up to it right now. But, hang in there.... it's on its way.
1 death is a tragedy,
10,000,000 deaths is a statistic.
- Joseph Stalin
Check out my Return to Chaos dungeon launcher
And my Dungeon Master Clone
Re: lever to block possible?
ok thank you very much Lord bones
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: lever to block possible?
We discussed this before. I forgot that Inactive does different things depending on the type of wallitem.
I honestly think this should be changed. INACTIVE is something completely different from INVISIBLE and as it stands it's confusing and unintuitive. If I want to make something INACTIVE, it shouldn't disappear, it should just become, you know, inactive.
I honestly think this should be changed. INACTIVE is something completely different from INVISIBLE and as it stands it's confusing and unintuitive. If I want to make something INACTIVE, it shouldn't disappear, it should just become, you know, inactive.
Re: lever to block possible?
made me of the examples in .txt or other thank you
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694
- Gambit37
- Should eat more pies
- Posts: 13715
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: lever to block possible?
Have you actually tried to do this yourself yet? There is plenty of help in this thread. It's a bit unfair on every one else if you just expect us to do all the hard work for you.
Re: lever to block possible?
it is true you are right gambit, I will study in detail that the others wrote, thank you
My dungeon ==> http://www.dungeon-master.com/forum/vie ... 694#p96694