Scrip run?

Post » Tue Jun 19, 2012 7:24 pm

hi,

i am trying myself in scripting. And i got an essentiel queston.
How do i Know my script is triggered?
I already did the following steps:
Modifiy the script in external editor
Compiled it (no errors)
added it to the SharpeningWheel

added line:
Debug.TraceAndBox(fsmithingValue,1);
before the return.

use this settings in Skyrim.ini
bEnableLogging=1
bEnableTrace=1
bLoadDebugInformation=1

if i now use the wheel nothing happens...
And the logs are nearly empty.... Just following line:
[02/24/2012 - 07:02:02PM] EditorPapyrus log opened (PC)
[02/24/2012 - 07:02:02PM] Memory page: 128 (min) 512 (max) 76800 (max total)

did i do something wrong?
(of course i saved and use the mod ingame ;)

pls help me :(
User avatar
Baby K(:
 
Posts: 3395
Joined: Thu Nov 09, 2006 9:07 pm

Post » Tue Jun 19, 2012 3:18 pm

bump :(
User avatar
Karl harris
 
Posts: 3423
Joined: Thu May 17, 2007 3:17 pm

Post » Tue Jun 19, 2012 2:55 pm

try
sqv your-quest-name
from the console
User avatar
Scott Clemmons
 
Posts: 3333
Joined: Sun Sep 16, 2007 5:35 pm

Post » Tue Jun 19, 2012 6:12 pm

"How do i Know my script is triggered?"
-That's simple, just add a Debug message to the script.

I prefer to use:
Debug.Notification()

Either that or the Messagebox.

"fsmithingValue,1" sounds wrong. I don't think the comma should be there.

Try doing this:
Debug.Notification("The script runs!")
User avatar
marina
 
Posts: 3401
Joined: Tue Mar 13, 2007 10:02 pm

Post » Tue Jun 19, 2012 11:59 am

the comma is normaly ok there (i looked for this command in the script reference)

i tried ur solution... agian, nothing happened :/
User avatar
Harry-James Payne
 
Posts: 3464
Joined: Wed May 09, 2007 6:58 am

Post » Tue Jun 19, 2012 9:52 am

The log file is in Documents\Mygames\skyrim\logs. Not in the skyrim game directory.
User avatar
Natalie Taylor
 
Posts: 3301
Joined: Mon Sep 11, 2006 7:54 pm

Post » Tue Jun 19, 2012 2:11 pm

Debug.Messagebox("the script runs")

If you don't see a messagebox pop up with that, then your script is not running that section of code.
User avatar
jeremey wisor
 
Posts: 3458
Joined: Mon Oct 22, 2007 5:30 pm

Post » Tue Jun 19, 2012 10:49 am

haha thanks for that information xDDD I really always looked in the wrong log...
my log says:
[02/25/2012 - 12:19:34AM] Papyrus log opened (PC)
[02/25/2012 - 12:19:34AM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)
[02/25/2012 - 12:19:34AM] Memory page: 1000000 (min) 10000000 (max) 1900000000 (max total)
[02/25/2012 - 12:20:37AM] VM is freezing...
[02/25/2012 - 12:20:37AM] VM is frozen
[02/25/2012 - 12:20:37AM] Reverting game...
[02/25/2012 - 12:20:41AM] Loading game...
[02/25/2012 - 12:20:42AM] VM is thawing...
[02/25/2012 - 12:20:57AM] VM is freezing...
[02/25/2012 - 12:20:57AM] VM is frozen
[02/25/2012 - 12:20:57AM] Log closed

nothing about the script...
I think i know what i have to do...^^
User avatar
ijohnnny
 
Posts: 3412
Joined: Sun Oct 22, 2006 12:15 am

Post » Tue Jun 19, 2012 6:53 pm


haha thanks for that information xDDD I really always looked in the wrong log...
you're welcome :celebration:
User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Tue Jun 19, 2012 5:16 pm

ok, i have no idea what i do wrong...
i put Debug.Messagebox("the script runs")
in the voicepushscript... used my fus do ra on a npc and no message box puped up.
Did i forgot something to deploy the new script?
User avatar
megan gleeson
 
Posts: 3493
Joined: Wed Feb 07, 2007 2:01 pm

Post » Tue Jun 19, 2012 4:33 pm

Could you post your code please
User avatar
asako
 
Posts: 3296
Joined: Wed Oct 04, 2006 7:16 am

Post » Tue Jun 19, 2012 9:23 am

Event OnEffectStart(actor Target, actor Caster)    Caster.PushActorAway(Target, PushForce)    Debug.Messagebox("the script runs")EndEvent
User avatar
James Wilson
 
Posts: 3457
Joined: Mon Nov 12, 2007 12:51 pm

Post » Tue Jun 19, 2012 6:42 am

Do you have all 3 words unlocked and are you holding the shout button so you use the 3rd word? that script is only on the 3rd word
User avatar
Umpyre Records
 
Posts: 3436
Joined: Tue Nov 13, 2007 4:19 pm


Return to V - Skyrim

cron