Can OpenMW make NPCs activate doors that load to other cell?
Posted: 18 Sep 2019, 03:19
TES Construction Set does not allow NPCs to use load doors that lead to other cells can OpenMW do it? On OpenMW it does not crash at least.
I've been messing with scripting a little. This makes fargoth to travel at his door step but he keeps walking in front of his door like he never reached destination. When I added to help Fargoth overcome high door step obstacle between AiTravel and AiActivate he started to run into wall of the Census Exercise Office to the side that leads to the lighthouse. Guess I need to tinker more with persistence references or something because there are bunch of doors with the ID ex_nord_door_01 in Seyda Neen cell.
Moving about Fargoth with work the best but it's lacking the grace of living AI.
///EDIT: You can't make NPC activate doors that load to other cell with OpenMW. I managed to get Fargoth activate the doors but you only hear the locked door sound (the door was unlocked). He keeps activating it like every 10 seconds but the poor guy can't go through the door.
Code: Select all
begin SeydaNeenAIRadiant
if ( GetPCCell "Seyda Neen" == 1 )
endif
If ( GameHour >= 17 )
If ( GameHour <= 19 )
"fargoth"->AiTravel, -11950, -67910, 3130
"fargoth"->AIActivate ex_nord_door_01
endif
elseif ( GetPCCell "Seyda Neen" == 0 )
endif
if ( GameHour < 17 )
if ( GameHour > 19 )
"fargoth"->PositionCell, -11990, -67690, 3115, 0, "seyda neen"
endif
endif
end
Code: Select all
"fargoth"->ForceRun
Moving about Fargoth with
Code: Select all
PositionCell
///EDIT: You can't make NPC activate doors that load to other cell with OpenMW. I managed to get Fargoth activate the doors but you only hear the locked door sound (the door was unlocked). He keeps activating it like every 10 seconds but the poor guy can't go through the door.