In console command, you can use COC "Name of location" to transport to another location immediately, but how can I make this command in script? Like, if the player dress some cloth, he teletransport for a house.
Thx!
In console command, you can use COC "Name of location" to transport to another location immediately, but how can I make this command in script? Like, if the player dress some cloth, he teletransport for a house.
Thx!
ScriptName YourScript Extends ObjectReferenceActor Property PlayerREF AutoObjectReference Property kYourMarkerREF AutoEvent OnEquipped(Actor akActor) If akActor == PlayerREF PlayerREF.MoveTo(kYourMarkerREF) EndIfEndIf