Modding:Adding Block Behavior/es: Difference between revisions

From Vintage Story Wiki
Created page with "<syntaxhighlight lang="c#"> public int distance = 1; public bool pull = false; </syntaxhighlight>"
(Created page with "* para VS 1.9: [https://wiki.vintagestory.at/images/7/7b/Advancedmoving_v1.0.0.zip AdvancedMoving_v1.0.0.zip] * para VS 1.6: [https://wiki.vintagestory.at/images/7/72/AdvancedMoving.zip AdvancedMoving.zip]")
Tags: Mobile edit Mobile web edit
(Created page with "<syntaxhighlight lang="c#"> public int distance = 1; public bool pull = false; </syntaxhighlight>")
Line 127: Line 127:
</syntaxhighlight>
</syntaxhighlight>


Additionally we need to add two fields, one for the distance and another one if the player should pull the block while sneaking ...
Además necesitamos añadir dos campos, uno para la distancia y otro si el jugador acciona el bloqueo mientras se escabulle


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Confirmedusers
9,523

edits