Jump to content

Scripting Problem


DubstepShark

Recommended Posts

Im trying to Script but no matter what even if i KNOW the script works, I even tried premade scripts... They wont save as a new script. I cant make new scripts or edit old ones.

This has happened to me on every computer ive tried it on.

Link to comment
Share on other sites

Well first off, you know geck gives you no confirmation of a save right?

It just allows you to close the script window without bugging you again about saving it. Next the script name might not show up in scripts until you move from that section in geck and back again.

Third, try pasting your script code. Note that renaming the script in the script code does not create a new script but renames the existing script.

 

Renaming its editorid in geck does make a new script, but then its source is still the same, if you recompile it, it will try and change its name back to conflict with whatever it was copyed from.

 

What exactly is going on? step by step tell us what you are doing in explicit detail and what indication you have that its 'not working'

Link to comment
Share on other sites

Well first off, you know geck gives you no confirmation of a save right?

It just allows you to close the script window without bugging you again about saving it. Next the script name might not show up in scripts until you move from that section in geck and back again.

Third, try pasting your script code. Note that renaming the script in the script code does not create a new script but renames the existing script.

 

Renaming its editorid in geck does make a new script, but then its source is still the same, if you recompile it, it will try and change its name back to conflict with whatever it was copyed from.

 

What exactly is going on? step by step tell us what you are doing in explicit detail and what indication you have that its 'not working'

 

Ok I open the Script Editor (Making a New One by Right Clicking in the Category and Clicking New) then I put in my Script:

scn RandomItemScript

Begin ScriptEffectStart
	Player.AddItem Loot 1
End

then I save, It doesnt save so i try to X out of it and do the Do you want to save and even though i have the script name it wont name it so i click YES

and it sends me back to the Script Editor, I think ok well i guess its saved so i click out and it says it again the only way to get out of this infinite loop

is to click no and lose my work.

Link to comment
Share on other sites

Well first off, you know geck gives you no confirmation of a save right?

It just allows you to close the script window without bugging you again about saving it. Next the script name might not show up in scripts until you move from that section in geck and back again.

Third, try pasting your script code. Note that renaming the script in the script code does not create a new script but renames the existing script.

 

Renaming its editorid in geck does make a new script, but then its source is still the same, if you recompile it, it will try and change its name back to conflict with whatever it was copyed from.

 

What exactly is going on? step by step tell us what you are doing in explicit detail and what indication you have that its 'not working'

 

Ok I open the Script Editor (Making a New One by Right Clicking in the Category and Clicking New) then I put in my Script:

scn RandomItemScript

Begin ScriptEffectStart
	Player.AddItem Loot 1
End


then I save, It doesnt save so i try to X out of it and do the Do you want to save and even though i have the script name it wont name it so i click YES

and it sends me back to the Script Editor, I think ok well i guess its saved so i click out and it says it again the only way to get out of this infinite loop

is to click no and lose my work.

 

try Geck Power up it should tell you whats wrong. also make sure the script type is set to Object ad try an object ID for the item.

Edited by CarnivalOfFear
Link to comment
Share on other sites

Well first off, you know geck gives you no confirmation of a save right?

It just allows you to close the script window without bugging you again about saving it. Next the script name might not show up in scripts until you move from that section in geck and back again.

Third, try pasting your script code. Note that renaming the script in the script code does not create a new script but renames the existing script.

 

Renaming its editorid in geck does make a new script, but then its source is still the same, if you recompile it, it will try and change its name back to conflict with whatever it was copyed from.

 

What exactly is going on? step by step tell us what you are doing in explicit detail and what indication you have that its 'not working'

 

Ok I open the Script Editor (Making a New One by Right Clicking in the Category and Clicking New) then I put in my Script:

scn RandomItemScript

Begin ScriptEffectStart
	Player.AddItem Loot 1
End


then I save, It doesnt save so i try to X out of it and do the Do you want to save and even though i have the script name it wont name it so i click YES

and it sends me back to the Script Editor, I think ok well i guess its saved so i click out and it says it again the only way to get out of this infinite loop

is to click no and lose my work.

 

try Geck Power up it should tell you whats wrong. also make sure the script type is set to Object ad try an object ID for the item.

 

Geck Power Up? Link please, As well its an Effect as well as it needs to be an Effect its going to be tied to an item as an attribute.

Edited by DubstepShark
Link to comment
Share on other sites

Try a known editor ID instead of loot.

 

Player.AddItem Pencil01 1

 

(note thats zero 1, not o1)

 

Im not cause i have every item in the game on the list, reason is its supposed to be a Mystery Box item you can find rarely and it could give you a random item also

since i want it not to be too big of a bummer heres how items work:

Food - Get 3 of the Item
Weapon - Get 1 of the Item (Mint Condition)
Armor - Get 1 of the Item (Mint Condition)
Chem - Get 3 of the Item
Misc - Get 5 of the Item
Ammo - Get 50 of the Item
Special Ammo - Get 25 of the Item
Mystery Box - If you just Happen to get it again you get 1 (A Different Version) which is rigged to only get Weapons and Armor but only good ones.

 

I already setup the list currently supports only Vanilla game items i will be making Patches for all the Mods and Mods that are asked for (As long as they are horrible).

Edited by DubstepShark
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...