Jump to content

Photo

Setting Script Properties Problem

scripting property scripts properties papyrus creation kit

  • Please log in to reply
1 reply to this topic

#1
sysigy

sysigy

    Journeyman

  • Members
  • Pip
  • 33 posts

I'm creating a new quest mod and am having an issue with a script property.

 

I have a utilities script (myUtilitiesScript) with some functions that I want to reuse in several places.

Scriptname myUtilitiesScript extends Quest

Function doSomething()
  ; Do something
EndFunction

In my main quest script I have a property declared as:

myUtilitesScript Property utils Auto

Now, when I try to open the script properties dialog (see below)

 

2013-07-19%2016_56_50-Properties%20for%2

 

I get an error that says that the properties window cannot be opened.  Removing the above property from my quest script fixes the problem but obviously I need the utilities script referenced so that I can use the functions it contains.

 

1, I have seen many people doing this in their scripts, does anyone know how to fix the CK error ?

 

or

 

2, Is there another way to set the 'utils' property without opening that script properties window (see above picture) ?

 

 

thanks


Edited by sysigy, 20 February 2014 - 12:25 PM.


#2
sysigy

sysigy

    Journeyman

  • Members
  • Pip
  • 33 posts

bump







Also tagged with one or more of these keywords: scripting, property, scripts, properties, papyrus, creation kit

IPB skins by Skinbox
Page loaded in: 1.030 seconds