flagflag  
3: 2010-01-12 (Tue) 15:20:13 iseki source Cur: 2010-01-21 (Thu) 02:31:13 iseki source
Line 1: Line 1:
*** llGroundSet(int x, int y, double height), llGroundUpdate() [#ndfa0172] *** llGroundSet(int x, int y, double height), llGroundUpdate() [#ndfa0172]
 +**** OS Function に同じような osTerrainSetHeight(), osTerrainFlush() があった. [#fe17e745]
 +
- llGroundSet(): 座標 (x, y) の標高を height にする関数. - llGroundSet(): 座標 (x, y) の標高を height にする関数.
- llGroundUpdate(): 変更した標高を適用させる. - llGroundUpdate(): 変更した標高を適用させる.
Line 7: Line 9:
       {        {
           m_host.AddScriptLPS(1);            m_host.AddScriptLPS(1);
 + 
           if (World.Permissions.CanTerraformLand(m_ho​st.OwnerID, new Vector3(x,y,0)))            if (World.Permissions.CanTerraformLand(m_ho​st.OwnerID, new Vector3(x,y,0)))
           {            {
Line 17: Line 19:
           }            }
       }        }
 + 
       // Fumi.Iseki        // Fumi.Iseki
       public void llGroundUpdate()        public void llGroundUpdate()
       {        {
           m_host.AddScriptLPS(1);            m_host.AddScriptLPS(1);
 + 
           ITerrainModule tm = m_ScriptEngine.World.RequestModuleInterf​ace<ITerrainModule>();            ITerrainModule tm = m_ScriptEngine.World.RequestModuleInterf​ace<ITerrainModule>();
           if (tm != null)            if (tm != null)
Line 35: Line 37:
           m_LSL_Functions.llGroundSet(x, y, height);            m_LSL_Functions.llGroundSet(x, y, height);
       }        }
 + 
       // Fumi.Iseki        // Fumi.Iseki
       public void llGroundUpdate()        public void llGroundUpdate()
Line 51: Line 53:
       {        {
           m_host.AddScriptLPS(1);            m_host.AddScriptLPS(1);
 + 
           if (World.Permissions.CanTerraformLand(m_ho​st.OwnerID, new Vector3(x,y,0)))            if (World.Permissions.CanTerraformLand(m_ho​st.OwnerID, new Vector3(x,y,0)))
           {            {


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

86 user(s) are online (8 user(s) are browsing xpwiki)

Members: 0
Guests: 86

more...

Access Counter

Today : 1350013500135001350013500
Yesterday : 1716817168171681716817168
Total : 2350996123509961235099612350996123509961235099612350996123509961
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com