setting party position

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
RayB
Posts: 140
Joined: Fri Mar 06, 2015 3:45 am

setting party position

Post by RayB »

I have been trying some modding with the Grimrock 1 dungeon maker and have been attempting some scripting.
I have run across an issue regarding the 'party:setPosition' command which confuses me. It works just fine when triggered with say a wall button. But if I try to trigger it with a pressure plate the whole program crashes and I end up at the desktop. Can anyone tell me why?
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: setting party position

Post by minmay »

A party:setPosition() call cannot execute from that place without failing an assert. You could call it one frame after the party steps on the plate, however.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Post Reply