Jump to content

YuriOtani

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by YuriOtani

  1. (Problem solved, I had to edit a property for the body token in CK to complete the script, I'll leave the question and info incase it's a frequently asked question) I'm making a simple dead actor pickup script that doesn't store the actor anywhere, and isn't meant to retrieve them later. just removes them and adds a generic inventory token item you can use for crafting at cook pots or other crafting stations. but I'm running into a road block with making the script add the item to the players inventory. my script compiles properly and the spell properly destroys the target, however the token item is not added to the player's inventory. my full script source is below, can someone with more experience maybe tell me the obvious fix I am no doubt missing? this is quite literally the first script I've ever written from scratch in any language, and I could do with any pointers you may have. ---------------------- Scriptname CC_PickupBody extends activemagiceffect Actor Property PlayerREF Auto Keyword Property ActorTypeAnimal Auto Keyword Property ActorTypeCreature Auto Keyword Property ActorTypeDwarven Auto Keyword Property ActorTypeNPC Auto MiscObject Property CC_HumanCorpseToken Auto Actor Victim Actor Lugger Event OnEffectStart(Actor akTarget, Actor akCaster) Victim = akTarget Lugger = akCaster If akTarget.IsDead() && (akTarget.HasKeyword(ActorTypeNPC) || akTarget.HasKeyword(ActorTypeAnimal) || akTarget.HasKeyword(ActorTypeCreature) || akTarget.HasKeyword(ActorTypeDwarven)) EndIf Lugger.AddItem(CC_HumanCorpseToken, 1, true) Victim.RemoveAllItems(akTransferTo = Lugger, abRemoveQuestItems = True) Victim.SetCriticalStage(Victim.CritStage_DisintegrateEnd) EndEvent ----------------------- I've also tried with PlayerREF.AddItem(CC_HumanCorpseToken, 1, true) to no avail. I keep going over it and over it and I can't spot the problem. could it be related to something in the CK instead?
  2. in my searching I only found one other report of this problem, over on the steam forums. neither of us was able to find a solution other than loading back to a save before the problem occured. to anyone else who encounters this problem, or thinks they might. frequent back up saves as a preventive measure are the only solution I know of.
  3. I've recently installed NMC's texture pack. after installing it I ran into a problem with seams between cells. only that one ground texture is effected, but it is effected in more than half of outdoor cells I have explored The Archiveinvalidation file generator did not solve my issue, nor did removing or updating the texture pack mod. I even tried using different quality variants of the mod, updating my archive invailidation between each one with no luck. I am also using COTW and the EVE mod. but have been using both of those without issue untill I installed the NMC texture pack. I can't find a solution to the issue, and would be most thankful for any help anyone could offer. I am running the game on a prebuilt asus tower computer, i7 processor, 12gb ram, GeForce GTX650, windows 10.
×
×
  • Create New...