Difference between revisions of "SDK 6.3/PAWN/Scramble"

From WowWiki
Jump to navigation Jump to search
(Official WOWCube SDK 6.3 documentation (automated publish from SDK headers))
 
(Official WOWCube SDK 6.3 documentation (automated publish from SDK headers))
Line 1: Line 1:
 
{{notice|'''Official WOWCube SDK documentation.''' SDK 6.3, PAWN API. Generated from the canonical SDK headers — do not edit by hand; regenerate from source.}}
 
{{notice|'''Official WOWCube SDK documentation.''' SDK 6.3, PAWN API. Generated from the canonical SDK headers — do not edit by hand; regenerate from source.}}
 +
 +
{{SDK 6.3 nav}}
 +
 +
''← [[SDK 6.3]] · PAWN / Scramble''
  
 
==Functions==
 
==Functions==

Revision as of 19:36, 25 July 2026

Official WOWCube SDK documentation. SDK 6.3, PAWN API. Generated from the canonical SDK headers — do not edit by hand; regenerate from source.

SDK 6.3 · PAWN API: Core · Graphics · Topology · Sound · Motion Sensor · Leaderboard · Splash Screen · Physics · Network · Save · Scramble · Logging
C++: Native API · Application · GFX Engine  ·  Rust: Rust API (experimental)  ·  Changelog

SDK 6.3 · PAWN / Scramble

Functions

Scramble

Syntax:

Scramble(twistsCount)

Description:

Scramble the cube randomly the specified number of times.

Arguments:

twistsCount
how many times to twist the cube for scramble

ScrambleRotate

Syntax:

ScrambleRotate(scr, dir)

Description:

Twist the cube around some screen in a specified direction.

Arguments:

scr
a screen to twist around
dir
a direction of the twist