Jump to content

Two scripts extending ObjectReference on same object


DzenNSK

Recommended Posts

I have two scripts extending ObjectReference attached to water pump. "drinkfromfountainscript" (from original game) and "WorkshopMechanism" from my mod. In perk entry point (alternative activation) in akTargetRef i receive drinkfromfountainscript object. Any attempts to cast him to "WorkshopMechanism" ("akTargetRef as WotrkshopMechanism", "(akTargetRef as ObjectReference) as WorkshopMechanism") return "None". How i can receive WorkshopMechanism ref? Are the Papyrus dont support two extension on same object?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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