Interface IMarkers
Namespace: OblivionMp.Sdk
Assembly: OblivionMp.Sdk.dll
Markers over characters: a line of text above a player's character or an NPC, seen only by this player.
public interface IMarkers
Methods
CreateMarker(MainCharacter, string, MarkerColor)
Creates a marker over target showing text in color,
with Default.
MarkerHandle CreateMarker(MainCharacter target, string text, MarkerColor color)
Parameters
target MainCharacter
text string
color MarkerColor
Returns
The marker, or None if the target has no spawned pawn yet.
CreateMarker(MainCharacter, string, MarkerColor, MarkerStyle)
Creates a marker over target showing text in color,
with style.
MarkerHandle CreateMarker(MainCharacter target, string text, MarkerColor color, MarkerStyle style)
Parameters
target MainCharacter
text string
color MarkerColor
style MarkerStyle
Returns
The marker, or None if the target has no spawned pawn yet.
CreateMarker(Npc, string, MarkerColor)
Creates a marker over the NPC target showing text in
color, with Default.
MarkerHandle CreateMarker(Npc target, string text, MarkerColor color)
Parameters
target Npc
text string
color MarkerColor
Returns
The marker, or None if the NPC has no spawned pawn yet.
CreateMarker(Npc, string, MarkerColor, MarkerStyle)
Creates a marker over the NPC target showing text in
color, with style.
MarkerHandle CreateMarker(Npc target, string text, MarkerColor color, MarkerStyle style)
Parameters
target Npc
text string
color MarkerColor
style MarkerStyle
Returns
The marker, or None if the NPC has no spawned pawn yet.
DestroyMarker(MarkerHandle)
Removes a marker. Does nothing for None or a marker already removed.
void DestroyMarker(MarkerHandle handle)
Parameters
handle MarkerHandle
SetMarkerOpacity(MarkerHandle, float)
Sets a marker's opacity, from 0 (fully transparent) to 1 (fully opaque). Does nothing for None.
void SetMarkerOpacity(MarkerHandle handle, float opacity)
Parameters
handle MarkerHandle
opacity float
SetMarkerStyle(MarkerHandle, MarkerStyle)
Changes how a marker looks and where it sits, including the socket it follows. Does nothing for None.
void SetMarkerStyle(MarkerHandle handle, MarkerStyle style)
Parameters
handle MarkerHandle
style MarkerStyle
SetMarkerText(MarkerHandle, string, MarkerColor)
Changes the text and color of a marker. Does nothing for None.
void SetMarkerText(MarkerHandle handle, string text, MarkerColor color)
Parameters
handle MarkerHandle
text string
color MarkerColor
SetMarkerVisible(MarkerHandle, bool)
Shows or hides a marker without removing it. Does nothing for None.
void SetMarkerVisible(MarkerHandle handle, bool visible)
Parameters
handle MarkerHandle
visible bool