SDK 6.3/PAWN/Scramble

From WowWiki
Revision as of 09:45, 26 July 2026 by WowBot (talk | contribs) (Mark PAWN API as legacy (supported, not developed) (WowBot))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Official WOWCube SDK documentation. SDK 6.3, PAWN API. Generated from the canonical SDK headers — do not edit by hand; regenerate from source.
Legacy track. The PAWN API is supported but no longer actively developed — the last PAWN additions shipped in SDK 6.2. New development uses the C++ (WebAssembly) API.

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