Trigger differences (File format)

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
PeyloW
Novice
Posts: 29
Joined: Wed Jan 03, 2001 6:00 pm

Trigger differences (File format)

Post by PeyloW »

For example WALL_ITEM_KEYHOLE_RA Has after "state" definition ("VISIBLE"/"INVISBLE") always "TRIGGER" defined, whereas for example FLOOR_ITEM_TRIGGER has it implicitly defined.

It works good for making any object that can stick on a wall be a trigger by just defining "TRIGGER", but for floors it is always FLOOR_ITEM_TRIGGER and if graphics is wanted an extra FLOOR_ITEM_PAD must be added. Why does not floor items also work with the "TRIGGER" defines, thus allowing for example a FLOOR_DECORATION_PUDDLE being a "TRIGGER", and the total amount of objects in the dungeon goes down.

Also does all TRAGET=(...) allow for multiple targets (TARGET=(1,2,..,n)) or does some objects only allow for one target? (Most notable in "Let him suffer" puzzle in DM).

I'll guess the trigger for floor items would affect the innerworkings of the engine just as having an implicit doorframe for every DOOR_n object.
User avatar
Gambit37
Should eat more pies
Posts: 13766
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Trigger differences (File format)

Post by Gambit37 »

I think the limit for TARGETS is a maximum of eight per trigger, but you can get multiple effects by using the WALLITEM_RELAY object.
User avatar
Gambit37
Should eat more pies
Posts: 13766
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Trigger differences (File format)

Post by Gambit37 »

Oh, and I think all TARGET types can accept 1-8 values for object IDs - not 100% sure though. You'd need to double check with George.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: Trigger differences (File format)

Post by George Gilbert »

Yep - all targets can accept up to 8 IDs
Post Reply