Editor documentation questions

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
ikki
Posts: 4
Joined: Fri Sep 14, 2012 6:14 pm

Editor documentation questions

Post by ikki »

None of the existing topics concentrated on the editor documentation, so I made a new topic.

The script reference says this about altars:
Altars share the same scripting API with Alcoves. The only difference is that an alcove is a wall item while an altar is placed in the middle of a cell.
Yet trying to call setActivateAlways(true) on an altar causes an error ("attempt to call a nil value"). In the editor GUI the setting is present on alcove, but not on altar.

The second line in this script will cause the error:

Code: Select all

testAlcove:setActivateAlways(true)
testAltar:setActivateAlways(true)
Is this a factual error in the documentation, or should altar support setActiveAlways()?
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Editor documentation questions

Post by antti »

ikki wrote:Is this a factual error in the documentation, or should altar support setActiveAlways()?
Yes, the altars should support the same functionality as alcoves do. The activate always property is a relatively new feature so this must have passed under our radars. Thanks for pointing it out. :)
Steven Seagal of gaming industry
Post Reply