Jump to content

Link Roll/Dash

Overview
Creator: RephireZeKasual217 Updated: 25 Aug 2019 Tags: Global Downloads: 45
Rating[?]: Rating: 4/5 (2 ratings)
View Script Download Example
(905.13 KB)
Information

Description Setup Reviews Comments

Its a global script, so put it there by slot 2, then edit these settings to your liking:
import "std.zh" required.

rollSpeed: How fast you go
rollDur: How long it lasts
cooldown: How long until you can do it again
firstSFX: The sfx played when you do it
rollSprite: In weapons/misc., put the animations in four seperate sprites in order, the order of directions are up, down, left, right, the number is the first sprite in the order. Ex. 97,98,99,100

Note: If you want to change the Button you want to use, change the PressEx1 to-
PressL
PressR
PressEx2
PressEx3
PressEx4
ect.

-For these two lines of code.

if((Link->PressEx1 == false)&&(rolltimer == 0)&&(rollwait > 0)){
else if((Link->PressEx1 == true)&&(rolltimer == 0)&&(rollwait == 0)&&(Link->Action==LA_WALKING)){


Warning: The Script won't work properly if you use InputButton. It must be PressButton.