I ran in another problem due to my scripting skills -.-
So I got a script for a magic effect that supposed to be disabled in interiors. I would like it to be active in the exteriors of towns though. So that the effect doesn't deactivate when I walk through a city gate, but once I enter a house within the city walls the effect turns off. So I am trying to exclude the "exterior" cells from the city world space from my condition.
I'm currently testing the script on Windhlem, so this is what I got:
target.IsInInterior() && !(target.GetParentCell() == WindhelmOrigin)
Unfortunately it doesn't work, the magic effect still stops everytime I enter the Windhelm gate. I guess it is because I got the wrong cells selected. (really just guessing heree though)
I tried the following cells ass assigned to the "WindhelmOrigin" property so far:
- WindhelmOrigin (thought that should have been it :/ )
- WindhelmExterior01
- WindhelmExterior02
- WindhelmMarketplaceExterior
Some help would be nice, I have not experiences with WorldSpaces so far...