Difference between revisions of "Talk:GetParentCell"
Jump to navigation
Jump to search
ok, I see the complaint (requires a global script), but still, it's damn close
imported>DragoonWraith (How not?) |
imported>DragoonWraith (ok, I see the complaint (requires a global script), but still, it's damn close) |
||
|
The only thing you can't do without using OBSE is a script that fires whenever you enter a new exterior cell. But usually you use Cellchanged to trigger stuff (music for example) when you enter a certain cell.--[[User:JOG|JOG]] 09:51, 14 August 2006 (EDT)
:[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 11:
:I don't see how GetInCell can possibly achieve the functionality that GetParentCell can. If you have a global variable CellChanged and this global script, you have the CellChanged function:
scn CellChangedScript
float fQuestDelayTime
ref CellLastFrame
Begin GameMode
set fQuestDelayTime to 0.0001
if ( CellLastFrame != player.GetParentCell )
set CellChanged to 1
else
set CellChanged to 0
endif
End
| |||