My CK Help Thread

Post » Fri Jan 11, 2013 3:57 pm

Yeah make the NPC essential, then use http://www.creationkit.com/OnEnterBleedout_-_Actor to do whatever you want when they are defeated. Like lock the players controls, stop combat, set him as friendly, etc.
User avatar
Lori Joe
 
Posts: 3539
Joined: Tue Jun 20, 2006 6:10 am

Post » Fri Jan 11, 2013 2:53 pm

mm the npc I placed instead keeps attaking me even if his aggressivness is set to unagressive ? Is there any tuytorial about stuff like that? I can't get the scene to work because of that ...
User avatar
GPMG
 
Posts: 3507
Joined: Sat Sep 15, 2007 10:55 am

Post » Fri Jan 11, 2013 6:49 pm

is there any vanillla like npc sample of that?
User avatar
Daniel Lozano
 
Posts: 3452
Joined: Fri Aug 24, 2007 7:42 am

Post » Fri Jan 11, 2013 1:17 pm

Make sure he isn't in a faction that is enemies with the player. I don't think Unagressive makes him passive to enemies, it makes him passive to Neutrals?
User avatar
CArla HOlbert
 
Posts: 3342
Joined: Wed Feb 21, 2007 11:35 pm

Post » Fri Jan 11, 2013 12:18 pm

There's thread in this very forum lays it out pretty clearly - do you think I can find it today, he gives a relevent exert of the script needed but I think he mis-quoted what the quest was.

I tried yesterday and got an NPC to attack the player out of dialogue with StartCombat(Actor akTarget) but they wouldn't attack with an Unagressive AI, thought it was worth trying the other way round.

It was Tsun, I think the script was on him or an alias.
User avatar
BRIANNA
 
Posts: 3438
Joined: Thu Jan 11, 2007 7:51 pm

Post » Fri Jan 11, 2013 5:21 am

ok thanks I 'll go check tsun ...
User avatar
Tha King o Geekz
 
Posts: 3556
Joined: Mon May 07, 2007 9:14 pm

Post » Fri Jan 11, 2013 1:52 pm

Found it, going to want this today myself http://www.gamesas.com/topic/1366542-quest-help/page__view__findpost__p__20627959__hl__tsun+fight__fromsearch__1
User avatar
Mylizards Dot com
 
Posts: 3379
Joined: Fri May 04, 2007 1:59 pm

Post » Fri Jan 11, 2013 6:27 pm

btw how I see it Tsun allows the player to pass , I instead need to activate a portcullis to open , how can I do that ?

I have set the lever as alias and I typed after the battle the


Alias_PullChain.GetReference().Activate(Game.GetPlayer())

in the fragment of papyrus but it does nothing , shouln't activate the alias and so open the portcullis to wichthe lever is connected?
User avatar
gary lee
 
Posts: 3436
Joined: Tue Jul 03, 2007 7:49 pm

Post » Fri Jan 11, 2013 3:06 pm

Any volunteer?
User avatar
ZANEY82
 
Posts: 3314
Joined: Mon Dec 18, 2006 3:10 am

Post » Fri Jan 11, 2013 6:47 am

I guess this could be a example, the bellow checks for a special keyword on the NPC, and if the NPC has the keyword the Thieves Guild door will open for them automatically when they enter the Trigger Box

Reason behind this? I've added some NPC's to the Ragged Flagon and i got a package that allows them to travel to the up to the Riften City, before this trigger my NPC's would just stand there at the Grave Stone, door would not open and they would get stuck. So this is a quick fix

Spoiler

ScriptName _S_ThievesGuildDoorScript Extends ObjectReference  ;=================================================================================;PROXiCide aka Taewon;Steam:	  http://steamcommunity.com/id/PROXiCiDE;Nexus:	  http://skyrim.nexusmods.com/users/3018315;Bethesda:   http://www.gamesas.com/user/425376-taewon/;=================================================================================ObjectReference Property pSwitch AutoObjectReference Property pCasket AutoKeyword Property pTGDoorAccessKeyword AutoEvent OnTriggerEnter(ObjectReference akActionRef)    Actor pActor = (akActionRef as Actor)    If pActor.HasKeyword(pTGDoorAccessKeyword) && !(pCasket As RiftenCasketDoorScript).IsOpen        pSwitch.Activate(pActor)    EndIfEndEventEvent OnTriggerLeave(ObjectReference akActionRef)    Actor pActor = (akActionRef as Actor)    If pActor.HasKeyword(pTGDoorAccessKeyword) && (pCasket As RiftenCasketDoorScript).IsOpen        pSwitch.Activate(pActor)    EndIfEndEvent
User avatar
Kayla Oatney
 
Posts: 3472
Joined: Sat Jan 20, 2007 9:02 pm

Post » Fri Jan 11, 2013 7:26 am

I would need something that after a certain quest stage the alias ( the door ) or ( the trigger lever ) activatesand opens the door , I have placed the alias as the lever and I send an activate() but doesnt do anything and the door stays closed...
User avatar
ezra
 
Posts: 3510
Joined: Sun Aug 12, 2007 6:40 pm

Post » Fri Jan 11, 2013 9:23 pm

No one has the proficency to help me debug out my small quest? is very small and just a couple of scenes is not a huge quest ..... its just a chamber room ...
User avatar
SWagg KId
 
Posts: 3488
Joined: Sat Nov 17, 2007 8:26 am

Post » Fri Jan 11, 2013 6:15 pm

I could have a look, if no one more experienced at such matters has time to spare.
User avatar
Josh Trembly
 
Posts: 3381
Joined: Fri Nov 02, 2007 9:25 am

Post » Fri Jan 11, 2013 10:04 am

ok Thanks I pack up things and in meanwhile do you have a skype account ? So you can tell me directly and easily what's wrong in the quest?
User avatar
Juan Suarez
 
Posts: 3395
Joined: Sun Nov 25, 2007 4:09 am

Post » Fri Jan 11, 2013 5:22 pm

From what I've been able to gather, it's just a way to reference a script attached to the quest itself, in the scripts tab.

And if you have multiple scripts attached to your quest, you can set it to point to whichever script you choose by quest stage.

Open a quest in the CK and select the "Quest Stages" tab. Select a stage. If there's no stages, create an empty one. Create an empty "Log Entry" if there isn't one of them either.

You can now select what script kMyQuest points to in the papyrus section via the drop down box
User avatar
Soraya Davy
 
Posts: 3377
Joined: Sat Aug 05, 2006 10:53 pm

Previous

Return to V - Skyrim