how to make things change appearance when right/left clicking?

User avatar
durtective6
Member
 
Posts: 167
Joined: Sun Aug 12, 2012 14:19
In-game: derplez

how to make things change appearance when right/left clicking?

by durtective6 » Mon Nov 11, 2013 18:55

i've been working on my mod now for about 2 weeks but have ran out of ideas to put in so i thought about making a block that changes appearance when right/left clicked (kind of like the computer mods computer screens) but do not know how to code it, could anyone help please?
Last edited by durtective6 on Mon Nov 11, 2013 18:56, edited 1 time in total.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Mon Nov 11, 2013 19:02

Do you mean during right clicking, or after right clicking.
Only that latter is possible.

You would need to change the block from say mod:node to mod:node_2.

You could use entities like the signs mod by PA to add custom textures.
Last edited by rubenwardy on Mon Nov 11, 2013 19:02, edited 1 time in total.
 

User avatar
durtective6
Member
 
Posts: 167
Joined: Sun Aug 12, 2012 14:19
In-game: derplez

by durtective6 » Mon Nov 11, 2013 19:19

just punching once
 


Return to Minetest General

Who is online

Users browsing this forum: Bing [Bot] and 15 guests