Jump to content

detect current player cell in a script?


pospi

Recommended Posts

Posted

Hey everyone,

 

I'm pretty new to morrowind scripting, and theres something that bothers me.

 

Is there any way to return the current player cell to a function somehow? I know you can use getPCCell, but that way you have to compare it with every cell identifier string in the game, which is really tedious, and pretty useless if you want a plugin that works with user made landmass plugins.

 

So, any way to quickly and easily find out what cell you are in?

 

cheers!

Posted

Ohh ok, can you use that command within a script or does it only display to console?

 

I want to use it in a script to change the weather in the current cell, as in

 

changeWeather, "CURRENTCELL", 5

 

type thing

Posted
That sort of thing was discussed a few months back with a sword that would become an instant lightning rod when equipped -- the only possibility reached was to try the command with the unknown arguments eliminated. It's a definite longshot, but, IIRC, it was not disproven entirely.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...