Editor documentation questions
Posted: Fri Sep 14, 2012 6:46 pm
None of the existing topics concentrated on the editor documentation, so I made a new topic.
The script reference says this about altars:
The second line in this script will cause the error:
Is this a factual error in the documentation, or should altar support setActiveAlways()?
The script reference says this about altars:
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.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.
The second line in this script will cause the error:
Code: Select all
testAlcove:setActivateAlways(true)
testAltar:setActivateAlways(true)