-
Posts
14 -
Joined
-
Last visited
Everything posted by Lustborn
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Great! Thanks for that, I didn't actually realize it would show the line that contains the error- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Oh, no, I named it Gold001, and selected MiscObject type of property. I did like you told me to. :smile: But the thing is, there must be somethign wrong with another part of the mod, because if there's nothing related to gold in the scripts, how the hell does it give me that error if I try to add the "MiscObject Property Gold001 Auto" line to the script? I just don't know. Myabe I will have to delete that quest and remake it. Argh why can't it be simpler? Lol. I removed all properties and tried to add the MiscObject property for gold, and same error. Yep. I will restart everything. ;-; Thank you all for your help, sincerely! :smile:- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Here we go :) QUEST FRAGMENTS Stages are: 10, 15, 20 and 200 Stage 10: SetObjectiveDisplayed(10, 1) Alias_MapMarker.GetRef().AddtoMap() ;enable quest itemAlias_QuestItem.GetRef().Enable()Alias_BossContainer.GetRef().AddItem(Alias_QuestItem.GetRef()) Stage 15:;Player has the itemSetObjectiveCompleted(10, 1)SetObjectiveDisplayed(15, 1) Stage 20:SetObjectiveCompleted(15, 1)Alias_QuestGiver.GetActorReference().AddItem(Alias_QuestItem.GetReference())Alias_QuestGiver.GetActorReference().SetRelationshipRank(Game.GetPlayer(), 1)SetStage(200) Stage 200:If GetStageDone(20) == 0 FailAllObjectives()EndIfStop() Full Script from the scripts tab: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 7Scriptname QF__0200623D Extends Quest Hidden ;BEGIN ALIAS PROPERTY BossContainer;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_BossContainer Auto;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY QuestGiver;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_QuestGiver Auto;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY Dungeon;ALIAS PROPERTY TYPE LocationAliasLocationAlias Property Alias_Dungeon Auto;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY QuestItem;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_QuestItem Auto;END ALIAS PROPERTY ;BEGIN ALIAS PROPERTY MapMarker;ALIAS PROPERTY TYPE ReferenceAliasReferenceAlias Property Alias_MapMarker Auto;END ALIAS PROPERTY ;BEGIN FRAGMENT Fragment_2Function Fragment_2();BEGIN CODEIf GetStageDone(20) == 0 FailAllObjectives()EndIfStop();END CODEEndFunction;END FRAGMENT ;BEGIN FRAGMENT Fragment_4Function Fragment_4();BEGIN CODESetObjectiveDisplayed(10, 1) Alias_MapMarker.GetRef().AddtoMap() ;enable quest itemAlias_QuestItem.GetRef().Enable()Alias_BossContainer.GetRef().AddItem(Alias_QuestItem.GetRef());END CODEEndFunction;END FRAGMENT ;BEGIN FRAGMENT Fragment_1Function Fragment_1();BEGIN CODESetObjectiveCompleted(15, 1)Alias_QuestGiver.GetActorReference().AddItem(Alias_QuestItem.GetReference())Alias_QuestGiver.GetActorReference().SetRelationshipRank(Game.GetPlayer(), 1) SetStage(200);END CODEEndFunction;END FRAGMENT ;BEGIN FRAGMENT Fragment_0Function Fragment_0();BEGIN CODE;Player has the itemSetObjectiveCompleted(10, 1)SetObjectiveDisplayed(15, 1);END CODEEndFunction;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment GlobalVariable Property FavorReward Auto GlobalVariable Property FavorCost Auto Faction Property FavorCompletedFaction Auto Faction Property Favor204QuestGiverFaction Auto- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
The thing is, there's nothing related to gold at all in the script anymore, I took it all out, and if I attemp to add the MiscObject property, it says "cannot name a variable or property the same as a known type or script"- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
The compilation works if I do not add anything to do with gold. What the hell is wrong with gold? ;-;- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Yup, the CK is just wonkey like that.... MiscObject Property Gold001 AutoThis will need to be added to the script file but outside of the fragment. After that, you should be able to click 'auto fill' in the property window, and the property will be filled automatically. If nothing happens after you click 'auto fill' (because the CK can be so wonkey...), then you have to add the property manually. I did what you both said, and the MiscObject thingy line is in the end of the full script, but it gives me this strange error now: Starting 1 compile threads for 1 files... Compiling "QF__0200623D"...C:\Games\Steam\SteamApps\common\skyrim\Data\Scripts\Source\temp\QF__0200623D.psc(87,20): cannot name a variable or property the same as a known type or scriptNo output generated for QF__0200623D, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on QF__0200623D- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Hahaha, the Creation Kit does seem a little weird to me, but I will do as you said! Thank you so much for your time, there is really few things that need to be done now before I can publish the mod, so i want to make sure everything is right.- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Alright, it gave out a different error this time! Not sure if progress, but it did change somehting! Starting 1 compile threads for 1 files...Compiling "QF__0200623D"...C:\Games\Steam\SteamApps\common\skyrim\Data\Scripts\Source\temp\QF__0200623D.psc(62,0): no viable alternative at input 'MiscObject'C:\Games\Steam\SteamApps\common\skyrim\Data\Scripts\Source\temp\QF__0200623D.psc(62,20): no viable alternative at input 'Gold001'No output generated for QF__0200623D, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on QF__0200623D I willbe searching this with Google, but if any of you can tell me what is wrong... Ugh scripting is weird. xD- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
Oooooooh so THAT'S where I put it... I did see the property in the scripts tab but I was like "What am I supposed to do with this??". Thanks! I will try this now. Haha it's ok <3 I actually was using the tutorial you mentioned for the quest. Thanks for the help!- 30 replies
-
Problems scripting gold reward... Help me?
Lustborn replied to Lustborn's topic in Skyrim's Skyrim LE
I've come across someone saying that, but where is the script for Gold001 so that I can set a property on it? xD I'm kind of new to all this scripting things.- 30 replies
-
Sooo... i'm trying to make a quest. You go, get an amulet for someone, you give him the amulet, he gives you a gold reward (double the value of the amulet) and gets to be your follower. I think I got everything right but the gold reward part. I've set this script for the last quest stage: SetObjectiveCompleted(15, 1) Alias_QuestGiver.GetActorReference().AddItem(Alias_QuestItem.GetReference()) Alias_QuestGiver.GetActorReference().SetRelationshipRank(Game.GetPlayer(), 1) Game.GetPlayer().AddItem(Gold001, Alias_QuestItem.GetReference().GetGoldValue() * 2) But when I try to compile the script, the following error appears: Starting 1 compile threads for 1 files... Compiling "QF__0200623D"... C:\Games\Steam\SteamApps\common\skyrim\Data\Scripts\Source\temp\QF__0200623D.psc(47,25): Gold001 is not a variable No output generated for QF__0200623D, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on QF__0200623D I've searched on Google, and it seems I need to make an object property script thing to the gold. But I can't do it... I searched about it but everything I did went wrong >:I Can somebody help me?
- 30 replies
-
That sounds cool!
-
I wanted to marry him too, and together dominate everyone and everything. But sadly, I need to be good. :(