Jump to content

ayeayeaye

Members
  • Posts

    4
  • Joined

  • Last visited

Nexus Mods Profile

About ayeayeaye

ayeayeaye's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. Thanks Loneraptor. I`ll try and get that to work next time I've a spare moment- and thanks especially for going into more depth with your answer: I couldn't fix it with the above comment (not that I don't appreciate it).
  2. Hi, I'm trying to write a papyrus script that limits the amount of ammo of a certain type that the player can carry at any one time, but I'm getting an error when I try to compile it: here's the script: Scriptname PlayerLimitAmmoScript extends Actor Const Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) if (Game.GetPlayer().GetItemCount(Ammo44) >= 30) Game.GetPlayer().RemoveItem(Ammo44, (Game.GetPlayer().GetItemCount(Ammo44) - 30), true) EndIf EndEventAnd this is the error: Starting 1 compile threads for 1 files... Compiling "PlayerLimitAmmoScript"... C:\Users\Will\AppData\Local\Temp\PapyrusTemp\PlayerLimitAmmoScript.psc(4,35): variable Ammo44 is undefined C:\Users\Will\AppData\Local\Temp\PapyrusTemp\PlayerLimitAmmoScript.psc(5,30): variable Ammo44 is undefined C:\Users\Will\AppData\Local\Temp\PapyrusTemp\PlayerLimitAmmoScript.psc(5,69): variable Ammo44 is undefined No output generated for PlayerLimitAmmoScript, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on PlayerLimitAmmoScriptSorry if this is a stupid question, this is my first time trying to write my own script in Papyrus Thanks, Will
  3. Thanks. I`m not sure I entirely understand, but I suppose I could try using a tutorial. In hindsight, I probably should have done that before making the thread, but it looked as if it was easier so I rushed a bit. Thanks for the hand.
  4. I'm trying to create a weapon mod that adds a flintlock pistol to the game, but I keep getting this problem. I duplicate the pipe pistol weapon, then double click the duplicate, go into Art & Sound, and click the edit button next to "model" to bring up the window that lets choose a new model. The window itself doesn't freeze then, but when I open the model (http://www.mediafire.com/download/63jfk1i4f278a18/Meshes.zip) nothing happens, and if i click anywhere, the creation kit stops responding, then crashes. On a sidenote, I didn't make the model myself, but rather I downloaded from the internet. Thanks in advance (hopefully), Will.
×
×
  • Create New...