Darth Essence Posted October 25, 2007 Share Posted October 25, 2007 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 ... Link to comment Share on other sites More sharing options...
tk102 Posted October 25, 2007 Share Posted October 25, 2007 To get the area object where you are standing: object oArea = GetArea( GetFirstPC() ); Link to comment Share on other sites More sharing options...
Darth Essence Posted October 26, 2007 Author Share Posted October 26, 2007 OK .. but if I want to get the area I am not in ? Link to comment Share on other sites More sharing options...
Pavlos Posted October 26, 2007 Share Posted October 26, 2007 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. Link to comment Share on other sites More sharing options...
Darth Essence Posted October 26, 2007 Author Share Posted October 26, 2007 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.