OnStoryCraftItem crash the game

Post » Tue Jun 19, 2012 5:37 pm

Another weird thing in the CK...

It's seem that the event "OnStoryCraftItem" doesn't work. It crash the game everytime the event is called (so when I craft something).
I created a quest, starting on event "craft item", and put a script attached to it :
Scriptname CraftScript extends QuestEvent OnStoryCraftItem(ObjectReference akBench, Location akLocation, Form akCreatedItem)  Debug.Notification(akItemBase + " was made at " + akBench + " in location " + akLocation)endEvent
I added the quest in the SM event node.

I also tried to use only Debug.Notification("hello") and it crash. Has anybody successfully use this event ?
User avatar
c.o.s.m.o
 
Posts: 3419
Joined: Sat Aug 12, 2006 9:21 am

Post » Tue Jun 19, 2012 6:53 pm

bump
User avatar
Jacob Phillips
 
Posts: 3430
Joined: Tue Aug 14, 2007 9:46 am

Post » Tue Jun 19, 2012 8:47 am

Have you taken a look at how they used it in vanilla game quest scripts?
User avatar
Oceavision
 
Posts: 3414
Joined: Thu May 03, 2007 10:52 am

Post » Tue Jun 19, 2012 4:54 am

I used a utility to scan all vanilla scripts to find it. But they never used it !
I think they knew that the function doesn't work. Strange because there is a page in the wiki about it.
User avatar
phil walsh
 
Posts: 3317
Joined: Wed May 16, 2007 8:46 pm

Post » Tue Jun 19, 2012 2:49 pm

I have only looked at it briefly, but don't the crafting quests use the SM event? (like the ones given by the whiterun blacksmith)
User avatar
john page
 
Posts: 3401
Joined: Thu May 31, 2007 10:52 pm

Post » Tue Jun 19, 2012 3:27 pm

Yes it's using the SM event
User avatar
Sandeep Khatkar
 
Posts: 3364
Joined: Wed Jul 18, 2007 11:02 am


Return to V - Skyrim