Jump to content

Place / rotate block actions


Recommended Posts




When placing a block, we have 2 actions (place it and rotate). I would like a third action that rotates counter_clockwise.


1) Weapons in the xml have 2 actions, triggered by eg left and right click. Can we add a third action ? How to make it trigger with eg shift+click ?


2) I can find the action to place a minibike (in items.xml), but I can't find the action to plant a seed (only seed recipe in items.xml) or a frame/block. Where are these defined ?

About seeds, I see

<triggered_effect trigger="onSelfPrimaryActionEnd" action="ModifyCVar" cvar="plantedCotton1" operation="set" value="1"/>

where is the base plantedCotton1 action defined ?


3) Is there some variable incremented when I rotate the block, that I could decrement in my counter_clockwise rotation ?



Thanl you !

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...