Both of them are useful for modders to ask or found easily important threads and of course, not having 5 times the same question in 5 different threads

Thanks in advance !
if you're calling it directly just use "secret_door_id_1:setWorldPositionY(42)"Vice Dellos wrote:i want to change the y-position of a secret door. i thought you had to do something like
door.go:setWorldPositionY(42) but i get an error: attempt to index field 'go' (a nil value) How are you supposed to call on it?
As in something your champion can posses to allow the party to walk through a wall OR allow you, the creator, to walk through a wall for debugging? F1 removes Collision if the latter.Jackard wrote:Is there an object that allows the player to pass through walls?
Having some trouble mixing terrain that creates invisible walls.
Then I have the exact opposite problem you have. I wish my wall entities had collision. Also, to answer your question, I don't think so.Jackard wrote:Neither. I want to add something to the map that allows players to pass through these pesky invisible walls created by mixing terrain.
Couldn't you just place an invisible_wall there, or set the entity to have a class of Obstacle?NutJob wrote:Then I have the exact opposite problem you have. I wish my wall entities had collision. Also, to answer your question, I don't think so.Jackard wrote:Neither. I want to add something to the map that allows players to pass through these pesky invisible walls created by mixing terrain.
Code: Select all
=== Software Failure ===
[string "GameObject.lua"]:0: attempt to index field 'map' (a nil value)
stack traceback:
[string "GameObject.lua"]: in function 'destroy'
[string "Map.lua"]: in function 'removeFloor'
[string "Arch.lua"]: in function 'spawn'
[string "DungeonEditor.lua"]: in function 'spawn'
clipboard:1: in main chunk
[string "DungeonEditor.lua"]: in function 'pasteEntities'
[string "DungeonEditor.lua"]: in function 'mapView'
[string "DungeonEditor.lua"]: in function 'update'
[string "Grimrock.lua"]: in main chunk