FLOORITEM_TRIGGER deactivate self

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

FLOORITEM_TRIGGER deactivate self

Post by andyboy_uk »

Just been having a look at a problem where a trigger was crashing a dungeon because it didnt de-activate itself when stepped on by the party (after performing its action)

Checked GG's editor and it appears that the option is supported by the OPTIONS property but it doesnt seem to do anything.

To get round it there is another trigger on the same tile with a longer delay (3) that deactivates them all.

Is this a bug or is the above the standard way that triggers work.

The trigger was pointing at a relay that launches a single object (charge was set to 1 on the shooters) from 4 shooters. When you stepped on it the first time it was fine, but restepping on it failed.

The diagnostic was as below.

RTC (V0.28) Diagnostic file - Tue Jan 13 00:17:14 2004

Error:
an access violation exception.

Stack Dump:
RTC.CheckPartyTile(bool TRUE);
RTC.MovePartyForward();
RTC.DoFrame(int 50);
RTC.WinMain();


I had a quick look through DM.TXT and CSB.TXT but couldnt find any flooritem_triggers that deactivate themselves.

Any ideas?

Cheers
Regards,

Andy
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

This is something I brought up literally years ago, and I don't think it was ever addressed. It does not seem possible to DEACTIVATE other ACTIVE actuators or vice versa.

The best you can do is to DESTROY an actuator if you want it to no longer work. There doesn't appear to be an opposite equivalent.

This is a real shame as it would open up massive possibilities.
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

The weird thing is that I had another floor item that deactivated the one in question and it seemed to work.

I think there must be a little buggette there.

GG Can you take a quick look over this one?
Regards,

Andy
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Of course - can you please send me the dungeon text file that produced the crash?
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

It was originally Ka5pian's text file but I can reproduce one with a crash. I will send it over to you when I get home tonight.
Regards,

Andy
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

Here you go George

http://www.freewebs.com/andyboy_uk/test.zip

You will need to right click and copy & paste into a new browser to get it. I have included the TXT, RTC and LOG file in there. It is only small

To make it crash, get HALK out of teh mirror and step on the centre tile once (and the corn comes flying out), then step off and back on again, and bang! crashes out.

Cheers GG

Andy
Regards,

Andy
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

Ow. I walked right into this thread and *bumped* it all the way to the top :)


GG, did you have any luck with this?
Regards,

Andy
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Have been busy this week :-(

Plan to look at it this weekend though...
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

No sweat GG.
Regards,

Andy
Post Reply