About COC in the CK

Post » Tue May 21, 2013 7:51 am

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!

User avatar
Justin Bywater
 
Posts: 3264
Joined: Tue Sep 11, 2007 10:44 pm

Post » Tue May 21, 2013 7:49 am

There's http://www.creationkit.com/CenterOnCell_-_Debug, but I'd use http://www.creationkit.com/MoveTo or http://www.creationkit.com/FastTravel_-_Game to move the player from one place to another as you'll have more control over where Bendu ends up.

ScriptName YourScript Extends ObjectReferenceActor Property PlayerREF AutoObjectReference Property kYourMarkerREF AutoEvent OnEquipped(Actor akActor)	If akActor == PlayerREF		PlayerREF.MoveTo(kYourMarkerREF)	EndIfEndIf
User avatar
Chloe Yarnall
 
Posts: 3461
Joined: Sun Oct 08, 2006 3:26 am


Return to V - Skyrim