Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
MappinSystem
Documents the MappinSystem class and its functions.
NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking MappinSystem

To invoke the mappin system, use the following Global function:
1
ms = Game.MappinSystem()
Copied!

Sub-functions

ChangeMappinVariant

ChangeMappinVariant
Info & Usage
1
ChangeMappinVariant(id : NewMappinID, newVariant : gamedataMappinVariant);
Copied!

DebugDiscoverAllPoiMappins

DebugDiscoverAllPoiMappins
Info & Usage
1
DebugDiscoverAllPoiMappins();
Copied!

GetMappins

GetMappins
Info & Usage
1
GetMappins(targetType : gamemappinsMappinTargetType, out mappins : array:MappinEntry);
Copied!

GetPointOfInterestMappinSavedState

GetPointOfInterestMappinSavedState
Info & Usage
1
GetPointOfInterestMappinSavedState(hash : Uint32, out mappinPhase : Uint16, out mappinVariant : Uint16, out active : Bool) : Bool;
Copied!

GetQuestMappinPosition

GetQuestMappinPosition
Info & Usage
1
GetQuestMappinPosition(mappinHash : Uint32, out position : Vector3) : Bool;
Copied!

GetQuestMappinPositionsByObjective

GetQuestMappinPositionsByObjective
Info & Usage
1
GetQuestMappinPositionsByObjective(objectiveHash : Uint32, out positions : array:Vector3) : Bool;
Copied!

OnAreaEntered

OnAreaEntered
Info & Usage
1
OnAreaEntered(evt : ref:AreaEnteredEvent);
Copied!

OnAreaExited

OnAreaExited
Info & Usage
1
OnAreaExited(obj : wref:GameObject, triggerId : EntityID);
Copied!

OnAreaTypeChanged

OnAreaTypeChanged
Info & Usage
1
OnAreaTypeChanged(entityID : EntityID, areaType : CName);
Copied!

RegisterFastTravelMappin

RegisterFastTravelMappin
Info & Usage
1
RegisterFastTravelMappin(data : MappinData, fastTravelData : ref:FastTravelPointData) : NewMappinID;
Copied!

RegisterGrenadeMappin

RegisterGrenadeMappin
Info & Usage
1
RegisterGrenadeMappin(data : MappinData, grenadeObject : wref:GameObject) : NewMappinID;
Copied!

RegisterMappin

RegisterMappin
Info & Usage
1
RegisterMappin(data : MappinData, position : Vector4) : NewMappinID;
Copied!

RegisterMappinWithObject

RegisterMappinWithObject
Info & Usage
1
RegisterMappinWithObject(data : MappinData, object : wref:GameObject, optional slotName : CName, optional offset : Vector3) : NewMappinID;
Copied!

RegisterRemotePlayerMappin

RegisterRemotePlayerMappin
Info & Usage
1
RegisterRemotePlayerMappin(data : MappinData, playerObject : wref:GameObject) : NewMappinID;
Copied!

RegisterVehicleMappin

RegisterVehicleMappin
Info & Usage
1
RegisterVehicleMappin(data : MappinData, object : wref:GameObject, optional slotName : CName, optional offset : Vector3) : NewMappinID;
Copied!

SetMappinActive

SetMappinActive
Info & Usage
1
SetMappinActive(id : NewMappinID, active : Bool);
Copied!

SetMappinDebugCaption

SetMappinDebugCaption
Info & Usage
1
SetMappinDebugCaption(id : NewMappinID, caption : String);
Copied!

SetMappinPosition

SetMappinPosition
Info & Usage
1
SetMappinPosition(id : NewMappinID, position : Vector4);
Copied!

SetMappinScriptData

SetMappinScriptData
Info & Usage
1
SetMappinScriptData(id : NewMappinID, scriptData : ref:MappinScriptData);
Copied!

SetMappinTrackingAlternative

SetMappinTrackingAlternative
Info & Usage
1
SetMappinTrackingAlternative(mappinID : NewMappinID, targetMappinID : NewMappinID);
Copied!

UnregisterMappin

UnregisterMappin
Info & Usage
1
UnregisterMappin(id : NewMappinID);
Copied!

UpdateCurrentLocationName

UpdateCurrentLocationName
Info & Usage
1
UpdateCurrentLocationName(locationName : String, isNewLocation : Bool);
Copied!
Last modified 9mo ago