Modding:World Access: Difference between revisions

From Vintage Story Wiki
Line 69: Line 69:
</syntaxhighlight>
</syntaxhighlight>


We're using <code>plrpos.DownCopy()</code> to keep the original player position for original use and to move the position down by 1 for placing the block below the player.
We're using <code>plrpos.DownCopy()</code> to keep the original player position for later use and to move the position down by 1 for placing the block below the player.


And finally let's count the number of log blocks around the player and inform him via chat message.  
And finally let's count the number of log blocks around the player and inform him via chat message.  
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits