/melting_glass command not working

Re: /melting_glass command not working

Postby dzienny » 14 Apr 2013, 12:10

@ismellike I'm impressed, it's a very ingenious command.

Alternatively, you can use door_glass and air_switch blocks. An air_switch activates a door_glass and then the door opens.
User avatar
dzienny
Administrator
 
Posts: 1181
Joined: 23 Jan 2011, 14:27

Re: /melting_glass command not working

Postby ismellike » 14 Apr 2013, 17:01

:O you might need to change the part in the code where it says

"ushort y = (ushort)(p.pos[1] / 32 - 1);"

to

"ushort y = (ushort)(p.pos[1] / 32 - 2);"

make it -2 instead of -1, cause I think -1 is just the legs.

thx dzienny
What a beast...
User avatar
ismellike
Coder
 
Posts: 731
Joined: 31 Oct 2012, 04:04
Location: Kansas

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron