Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • openmw openmw
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 754
    • Issues 754
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 62
    • Merge requests 62
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenMW
  • openmwopenmw
  • Issues
  • #4055
Closed
Open
Created Jun 17, 2018 by redmine@openmw_redmine_userGuest

Local scripts don't inherit variables from their base record.

A useful feature of the vanilla engine is that newly spawned objects with local scripts will inherit the values of variables defined in their script's base record. This is not currently working in OpenMW and is causing some mods to seriously malfunction.

Easy way to see the bug via console commands:


set chargendagger.done to -123
placeatpc "chargen dagger" 1 0 0
# click the dagger that was spawned
showvars
# vanilla: done == -123
# openMW: done == 0

(RM-4055 from redmine: created on 2017-09-01 by Greatness 7, )

Edited Jun 19, 2018 by redmine
Assignee
Assign to
Time tracking