Skip to content

Cast only uses of scripts doesn't import script #8

@Minizbot2012

Description

@Minizbot2012

Compiling the DLC1PlayerVampireChangeScript (Which has only internal casts to VampireQuestScript) fails to compile as the VampireQuestScript is not found. Adding a variable that is an object of said script (but not using it) fixes this issue, however this doesn't match the vanilla compiler's rules.

Source\Scripts\DLC1PlayerVampireChangeScript.psc:378:5: Checker error: value with type `Spell` cannot be assigned to a variable with type `None` 376 | (DialogueGenericVampire as VampireQuestScript).LastPower = DLC1VampireBats 377 | else 378 | (DialogueGenericVampire as VampireQuestScript).LastPower = PlayerActor.GetEquippedSpell(2) | ^ 379 | endIf 380 | PlayerActor.RemoveSpell(LeveledDrainSpell)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions