Jump to content

Photo

Get Cell name?


  • Please log in to reply
3 replies to this topic

#1
Pellape

Pellape

    Faithful poster

  • Members
  • PipPipPipPip
  • 2,068 posts

How are we supposedto get a cell name? We can check if the player is in the same cell or get into a specific cell but not get the bloody cellname???

 



#2
Pellape

Pellape

    Faithful poster

  • Members
  • PipPipPipPip
  • 2,068 posts

This will do it

GetParentCell - The Elder Scrolls Construction Set Wiki



#3
DrakeTheDragon

DrakeTheDragon

    Resident poster

  • Moderators
  • 8,243 posts

Ah, I totally missed that one when I looked for an answer.

 

Yes, and when you really want the "name", as in for display/reading, there's always calling "GetName" on the return from this function.



#4
Pellape

Pellape

    Faithful poster

  • Members
  • PipPipPipPip
  • 2,068 posts

Well Getname returns a string, which we always can destruct though. Best if we just wanna see the name might be to:

Sett CellRef to player.getParentCell

Printc "Cellname = %n", CellRef
MessageEX "Cellname = %n", cellRef







IPB skins by Skinbox
Page loaded in: 0.888 seconds