3: 2010-01-12 (火) 15:20:13 iseki  |
現: 2010-01-21 (木) 02:31:13 iseki  |
| | *** 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(): 変更した標高を適用させる. |
| | { | | { |
| | m_host.AddScriptLPS(1); | | m_host.AddScriptLPS(1); |
| | + | |
| | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x,y,0))) | | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x,y,0))) |
| | { | | { |
| | } | | } |
| | } | | } |
| | + | |
| | // Fumi.Iseki | | // Fumi.Iseki |
| | public void llGroundUpdate() | | public void llGroundUpdate() |
| | { | | { |
| | m_host.AddScriptLPS(1); | | m_host.AddScriptLPS(1); |
| | + | |
| | ITerrainModule tm = m_ScriptEngine.World.RequestModuleInterface<ITerrainModule>(); | | ITerrainModule tm = m_ScriptEngine.World.RequestModuleInterface<ITerrainModule>(); |
| | if (tm != null) | | if (tm != null) |
| | m_LSL_Functions.llGroundSet(x, y, height); | | m_LSL_Functions.llGroundSet(x, y, height); |
| | } | | } |
| | + | |
| | // Fumi.Iseki | | // Fumi.Iseki |
| | public void llGroundUpdate() | | public void llGroundUpdate() |
| | { | | { |
| | m_host.AddScriptLPS(1); | | m_host.AddScriptLPS(1); |
| | + | |
| | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x,y,0))) | | if (World.Permissions.CanTerraformLand(m_host.OwnerID, new Vector3(x,y,0))) |
| | { | | { |
|
161 人のユーザが現在オンラインです。 (7 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 161
もっと...
|
| |