-
Notifications
You must be signed in to change notification settings - Fork 5
SetWorldCursor
nyfrk edited this page Aug 30, 2020
·
1 revision
Set or move the world cursor to a specified position on the map.
Use ISettlers4Api::DeleteWorldCursor to remove the cursor.
BOOL ISettlers4Api::SetWorldCursor(
INT x,
INT y
);
x
The new x coordinate on the map for the world cursor.
y
The new y coordinate on the map for the world cursor.
If this method could execute successfully it will return TRUE. If an error occurred it will return FALSE.
Only one world cursor can be visible at a time. Use ISettlers4Api::AddEffect with S4_EFFECT_TUTORIAL_ARROW to spawn more.
It is not yet known whether the world cursor can desync multiplayer games.
Minimum API Level | 1 |
Target Edition | HistoryEdition MD5: C13883CBD796C614365AB2D670EAD561 |
Header | S4ModApi.h |
Library | S4ModApi.lib |
DLL | S4ModApi.dll |