So ... I kinda got a little question ... where can I find the names of areas they are defined with ... ? ...
For example .. The Script Function "SetAreaFogColor( object oArea, float fRed, float fGreen, float fBlue );" where do I get the object oArea .. ? ...
Thanks a LOT ...
To get the area object where you are standing:object oArea = GetArea( GetFirstPC() ); :)
OK .. but if I want to get the area I am not in ?
OK .. but if I want to get the area I am not in ?
You can't because in KotOR there is only one area per module.
The function is left over from NWN where each module contained multiple areas and all the areas were loaded up. You can only "do things" in the currently loaded module and seeing as how there'll only be one loaded area in KotOR... you can only "do things" in the current area.
I hope that isn't too confusing for you - I don't seem to be too good at explaining these concepts.
hmm .. Okey ... in that case ... to the root of this question .. erm .. I suppose it was Talchia who created a Jukebox in the KOTOR Arena Mod ... which function could possibly be used there if 'PlayBackgroundMusic' or smthn needs an object oArea ... ? :S