Triggering with specific items/types?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
gambit37
Posts: 218
Joined: Fri Mar 02, 2012 3:40 pm

Triggering with specific items/types?

Post by gambit37 »

I couldn't find anywhere in the editor to specify which items activate a trigger. Is that something that must be handled using scripting?

If this is a missing feature, I'd suggest it could be a new feature for the editor which would allow the designer to set a specific item to activate a trigger. All the old editors for the old DM clones have this as a basic feature (RTC, DSB, etc.) so it seems pretty weird not to have it in the LoG editor.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Triggering with specific items/types?

Post by petri »

Yes, it needs scripting. Basic idea is to scan the contents of the surface component and search for items with specific name or id.

For historical reasons many things in Grimrock are accomplished with scripting -- the entire dungeon in Grimrock 1 was a very large script because we did not have a level editor at all back then.
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: Triggering with specific items/types?

Post by Decayer »

Check out the second half of part 10 of Skuggasveinn's editor tutorial videos.
User avatar
gambit37
Posts: 218
Joined: Fri Mar 02, 2012 3:40 pm

Re: Triggering with specific items/types?

Post by gambit37 »

Ah I see, OK thanks. Looks like I'll have to get a bit better at the whole scripting thing sooner than I thought ;-)
Post Reply