Jump to content

Sargrifal

Supporter
  • Posts

    9
  • Joined

  • Last visited

Nexus Mods Profile

About Sargrifal

Sargrifal's Achievements

Rookie

Rookie (2/14)

0

Reputation

  1. I dont think so, the item is an armor with particle system, but if your are right I can attach script only to magical effect, if I just change event from OnEquipped to EffectStarts will script work properly or it must be rewritten?
  2. Yeah, now that works but not the right way) script works just if I drop item from inventory then pick up it and equip or re equip item the animation will work, but it work only for PC, not NPC. Problem is the item which need this script was added at inventory by another script and dont showing at characters I think it have "invisible hat" mark so script wont work before item will be dropped and pick upped again. After all I thinking more and more about I'm just dumb)
  3. So, now script is compiled, thank you, BUT, it doesn't work) I made the test circlet and attach script to it, then equipped it on follower and PC, wait some time and nothing happens, mb I ,must not use vanilla animations like "idleWounded03", or mb I done smth wrong at another step, like error ar attaching script? Here is script which I used
  4. @ReDragon2013 Thank your for PM answer, I already fixed "variable IdleStop_Loose is undefined", just before I send PM to you, I cant understand that D:\Skyrim SE\Data\Source\Scripts\temp\scriptname.psc(28,4): function onobjectequipped cannot be defined in state waiting without also being defined in the empty state D:\Skyrim SE\Data\Source\Scripts\temp\scriptname.psc(42,4): function onobjectunequipped cannot be defined in state wearitem without also being defined in the empty state May be it is unnecessary to fix that, I dont know (and about script name I use "scriptname.psc" just like example, not exist name)
  5. Thank you very much, Ill try it soon, just backed from another country
  6. T Thank you, but "variable IdleStop_Loose is undefined" still here and script wont work, can you tell me why it can happened?
  7. Hello everyone, I trying to start writing scripts, and still newbie, so have trouble with it) Tried to make script which make NPC or Player playing animations when they are equipe Item until then it was unequipped, but I failed at compile, can someone help with right looking script? Scriptname FluidAnims extends ObjectReference ObjectReference Property fluid AutoActor Property PlayerRef Auto Event OnObjectUnEquipped(Form akBaseObject, ObjectReference akReference)If akBaseObject == EFfluidSendAnimationEvent(PlayerRef, "EFFstop")EndIfUtility.Wait(20) PlayerRef.PlayIdle(IdleStop_Loose) EndEvent Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference)If akBaseObject == EFfluidSendAnimationEvent(PlayerRef, "EFF")EndIfUtility.Wait(20) PlayerRef.PlayIdle(IdleStop_Loose) EndEvent And compile failed because: Starting 1 compile threads for 1 files...Compiling "FluidAnims"...D:\Skyrim SE\Data\Source\Scripts\temp\FluidAnims.psc(8,0): SendAnimationEvent is not a function or does not existD:\Skyrim SE\Data\Source\Scripts\temp\FluidAnims.psc(11,19): variable IdleStop_Loose is undefinedD:\Skyrim SE\Data\Source\Scripts\temp\FluidAnims.psc(16,0): SendAnimationEvent is not a function or does not existD:\Skyrim SE\Data\Source\Scripts\temp\FluidAnims.psc(19,19): variable IdleStop_Loose is undefinedNo output generated for FluidAnims, compilation failed.
×
×
  • Create New...