https://forum.minetest.net/viewtopic.php?id=5578

fishyWET wrote:Update: Now the ithildin doesn't appear in daylight but only at night.
Mito551 wrote:fishyWET wrote:Update: Now the ithildin doesn't appear in daylight but only at night.
that is amazing! good job
fishyWET wrote:Mito551 wrote:fishyWET wrote:Update: Now the ithildin doesn't appear in daylight but only at night.
that is amazing! good job
techincally i doesn't disappear but changes into stone.
Should i make it turn invisible instead? Please share your opinion.
And just wondering, is it possible to actually make the ithildin disappear until an instruction like /show is said and well i need help in that if it is possible.
rubenwardy wrote:Use minetest.register_chatcommand to take a /show function. When it is called, look around the player's position and make the door visible / invisible if it is in range.
fishyWET wrote:rubenwardy wrote:Use minetest.register_chatcommand to take a /show function. When it is called, look around the player's position and make the door visible / invisible if it is in range.
but can you make it invisible in the first place instead and only when a command is said, it shows but only for a while before becoming invisible again and you see im not an expert in init, so if anyone can help in this, please help.
on_construct = function(pos)
-- code to make node invisible
end,rubenwardy wrote:fishyWET wrote:rubenwardy wrote:Use minetest.register_chatcommand to take a /show function. When it is called, look around the player's position and make the door visible / invisible if it is in range.
but can you make it invisible in the first place instead and only when a command is said, it shows but only for a while before becoming invisible again and you see im not an expert in init, so if anyone can help in this, please help.
addYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
on_construct = function(pos)
-- code to make node invisible
end,
to the craft definitions.
for more info: http://dev.minetest.net/minetest.register_node#on_construct
Users browsing this forum: Bing [Bot] and 6 guests