Sharpjaws / SharpSK

An addon for Skript that adds lots of features and other features from your favourite plugins to skript. Supports 1.8 up to 1.12
https://forums.skunity.com/resources/72
MIT License
8 stars 12 forks source link

problem #40

Closed Wqrld closed 6 years ago

Wqrld commented 6 years ago
            sharpsk save p1 (player's worldedit point 1) p2 (player's worldedit point 2) with origin (player's worldedit point 1) to clipboard of player
            sharpsk save clipboard of player to schematic "%arg 1%map"
            set {loc.%arg 1%.map} to player's worldedit point 1

        if "%arg 2%" contains "pasteschematic":
            sharpsk paste schematic "/home/pixel/ferox/plugins/WorldEdit/schematics/%arg 1%map" at {loc.%arg 1%.map}

I save a build to a schematic but when i try to paste it, it basicly pastes 180 degrees the other way. I can't rotate it on paste so is there a way to like keep the direction when saving a schematic? / allow for a direction in "worldedit point 1"?

Sharpjaws commented 6 years ago

Hi there, it is possible to rotate a schematic with the paste syntax like this:

sharpsk paste schematic "/home/pixel/ferox/plugins/WorldEdit/schematics/%arg 1%map" at {loc.%arg 1%.map} rotate by %number% degrees

Just adjust %number% to the amount of degrees you want to rotate it to.

Wqrld commented 6 years ago

I can't do this as I have no way to check which way the schematic is rotated when copying it/ it differs per schematic.