Jump to content

naaitsab

Premium Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by naaitsab

  1. In response to post #43855830. #43872595, #43873225, #43873565, #43887435 are all replies on the same post. Just add bBlockMessageBoxes=1 under [MESSAGES] in CreationKit.ini in your skyrim folder. It needs to be 1 not 0 as 1 is equal to yes, so in normal English it means: BlockMessageBoxes? Yes block them. Using a 0 is equal to no so no blocking. Just loaded a random mod in the new CK with this line added, 0 load error messages.
  2. Bit weird that you need to assign the value again in the properties window but it did the trick. Thanks man :smile: It's not weird, it's logical. In the script it's just a name. In the properties windows it's the actual connection between the name (which can be arbitrary), and the actual CK object. Coming from C# it's still a bit weird to me why you should have to set the variable twice (declare in code and link to that declaration in CK) :wink:
  3. Bit weird that you need to assign the value again in the properties window but it did the trick. Thanks man :smile:
  4. Hi there, This is my very first script so please keep that in mind :confused: I want to activate an item which then pops up a messagebox with some text and values. The activate and popup section goes without a problem but I don't seem to get the proper value's from the globals (both Short). At the moment I have the current code running on the item. The global vars ingame show 13.0 and 2.0 so they have a value. The only problem is that the value displayed in the messagebox is 0.000000 Scriptname LedgerMessage extends ObjectReference GlobalVariable Property Myvalue1 Auto GlobalVariable Property Myvalue2 Auto Float Value1 Float Value2 Event OnActivate(ObjectReference akActionRef) Value1 = Myvalue1.GetValue() Value2 = Myvalue2.GetValue() Debug.MessageBox("value 1 = " + "\n" + Value1 + "\n" + "value 2 = " + "\n" + Value2) endEvent I changed the names for value for more easy of use, in reality they are named different of course. The code compiles without any problems. I just get 2 times 0.00000 instead of 13 and 2. Searched all morning for a solution but couldn't find one. Will be a real noob solution but I can't figure out why it doesn't work. Thanks :laugh:
×
×
  • Create New...