Jump to content

Aliases again.


antstubell

Recommended Posts

That would be a better error message, but that would require papyrus to check for that function in all other scripts , which would be time consuming. When running a function on an objectReference, papyrus only checks the ObjectReference script, and the Form script because the ObjectReference script extends form. Just know in the future if you get that error and you know the function exists, you're trying to run it on the wrong type of property.

Link to comment
Share on other sites

That's the first thing I did and got this error -

(51,6): type mismatch on parameter 1 (did you forget a cast?)
This is the complete fragment which gives that error unless I remove Shock,Activate(Self)

; surgeon mutilates body
Alias_SurgeonAlias.GetActorReference().EvaluatePackage()
Shock.Activate(Self)
Utility.Wait(5); time before blood splatter
Blood.Enable()
Splat.Play(Splathere)
Utility.Wait(35); time after blood splatter
SetStage(40)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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