Jump to content

How to use Function from Actor Script inside Perk extending Script?


Recommended Posts

How to use SetCriticalStage – Actor inside script extending perk? Is it possible?

 

Getting “SetCriticalStage is not a function or does not exist” compiler error with this:

Scriptname Fragments:Perks:TestScript Extends Perk Hidden Const

Function Fragment_Entry_00(ObjectReference akTargetRef, Actor akActor)

	akTargetRef.SetCriticalStage((akTargetRef as Actor).CritStage_DisintegrateEnd)

EndFunction

Link to comment
Share on other sites

  • Recently Browsing   0 members

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