Can't add properties to scene script.

Post » Sun Jun 24, 2012 4:52 am

Uhh, so I'm trying to make a scene and put some fragments in the Timer's in my scene. The issue is, I can't add properties. I add my script line; "Gate.Activate(Game.GetPlayer(), True)" to open a nearby gate. It says gate is undefined. I go to the script section for the scene, and there's no script. So I add my own and define the property, but it still doesnt recognize it. I somehow got it to actually list the scenes script, but I cannot add new properties, as the button is grayed out.

I got my previous scene with fragments working somehow, but this one just wont... How do I make it so I can add properties and just add my little fragment and be done?

Thanks,
Alexander J. Velicky
User avatar
SEXY QUEEN
 
Posts: 3417
Joined: Mon Aug 13, 2007 7:54 pm

Post » Sun Jun 24, 2012 8:20 am

Bump :/
User avatar
Lisa
 
Posts: 3473
Joined: Thu Jul 13, 2006 3:57 am

Post » Sun Jun 24, 2012 10:07 am

its an annoying bug

here is what you should do as standard practice for all future script fragments:


in the fragment box type ; and compile

save and close all windows

reopen window and NOW you can edit properties (and you can delete the ; and add your real code)
User avatar
Baby K(:
 
Posts: 3395
Joined: Thu Nov 09, 2006 9:07 pm

Post » Sun Jun 24, 2012 1:15 am

God, I remember when I didn't know about this bug. Jesus was that frustrating.
User avatar
Ymani Hood
 
Posts: 3514
Joined: Fri Oct 26, 2007 3:22 am

Post » Sun Jun 24, 2012 1:07 am

God, I remember when I didn't know about this bug. Jesus was that frustrating.

:swear: :yuck: :banghead:

I must have wasted 10-15 hours this past weekend fighting this bug. At least I know now, lol.
User avatar
April D. F
 
Posts: 3346
Joined: Wed Mar 21, 2007 8:41 pm

Post » Sun Jun 24, 2012 3:24 am

That fixed it, thanks guys!
User avatar
Nick Tyler
 
Posts: 3437
Joined: Thu Aug 30, 2007 8:57 am

Post » Sun Jun 24, 2012 8:13 am

The same happens with AI package scripts and is fixed the same way.
User avatar
(G-yen)
 
Posts: 3385
Joined: Thu Oct 11, 2007 11:10 pm

Post » Sun Jun 24, 2012 5:43 am

Spoke too soon. That lets me add properties, but my actual script fragments on Phases wont save. I say compile, it all looks good, but if I close the window, when I return the fragment is gone like I never made it...
User avatar
Steve Bates
 
Posts: 3447
Joined: Sun Aug 26, 2007 2:51 pm

Post » Sun Jun 24, 2012 9:49 am

Did you hit OK to close out, or the X button in the corner? Make sure to use OK.
User avatar
Chris Cross Cabaret Man
 
Posts: 3301
Joined: Tue Jun 19, 2007 11:33 pm

Post » Sun Jun 24, 2012 8:42 am

Did you hit OK to close out, or the X button in the corner? Make sure to use OK.
Yup I hit OK. Upon reopening the quest window, my scene's phase fragments are gone. :(
User avatar
Wayne Cole
 
Posts: 3369
Joined: Sat May 26, 2007 5:22 am

Post » Sun Jun 24, 2012 10:40 am

i just checked it out on scene phases, the script deletes itself when you hit OK (no traces of it in the scripts folder even). this seems to only happen for this type of fragment

Edit: i tried it out on a vanilla quest (bardsongs) and added a script fragment and everything saved fine.

there must be an additional flaming hoop you must jump through for scene fragments before the circus master gives you the peanut
User avatar
DAVId MArtInez
 
Posts: 3410
Joined: Fri Aug 10, 2007 1:16 am

Post » Sun Jun 24, 2012 1:28 am

I'm not having this problem (or at least I wasn't pre-1.5). My scene fragments saved and executed (or at least I thought they were; the text is there anyway; I can't check now because I'm redownloading Skyrim).

However, not that this is related at all, but I might as well whine about it while I'm here, I cannot access properties in my scene fragments. I crash every time I try (this happens to me whether I'm in my own esp or not).
User avatar
STEVI INQUE
 
Posts: 3441
Joined: Thu Nov 02, 2006 8:19 pm

Post » Sun Jun 24, 2012 12:14 pm

To get around the phase end fragments not working, I think I'll just put it in the end fragment of something in that scene. Since I always only want to do stuff at the end of the entire scene, like change a quest stage, I'll just add a timer with 0 seconds to the end and add it in that fragment. That will have exactly the same effect.
User avatar
Symone Velez
 
Posts: 3434
Joined: Thu Sep 07, 2006 12:39 am


Return to V - Skyrim