Category:LSL Needs Example/ja
Jump to navigation
Jump to search
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
このカテゴリの中の記事には、例をつける必要があります。例をつけるには、'examples' の値として見えるままの複数行の文字列を設定してください。
例: llFrand (定義中のパラメタの順序は、表示に全く影響ありません)
{{LSL_Function |sort=Frand |func=llFrand |func_id=8 |func_sleep=0.0 |func_energy=10.0 |p1_type=float |p1_name=mag |p1_desc=Any valid float value |return_type=float |return_text=that is pseudo random number in the range [0.0,mag) or (mag, 0.0]. |spec=returns a pseudo random number in range [0.0, mag) or (mag, 0.0], depending upon the sign of mag. |caveats |examples=<source lang="lsl2">default { touch_start(integer total_number) { // When touched, say "Heads" with probability 0.5, // otherwise, say "Tails." if ( llFrand(1.) < .5) llSay(0, "Heads"); else llSay(0, "Tails"); } }</source> |func_helpers |also |notes= The random number generator is not a source of entropy. The sequence of random numbers are shared across the entire process, and not independently seeded. Therefore, the pseudo random number generation is not suitable for any application which requires completely predictable or completely unpredictable results. |cat1=Math |cat2 |cat3 }}
Pages in category "LSL Needs Example/ja"
The following 125 pages are in this category, out of 125 total.
G
- LlGetAnimationOverride/ja
- LlGetCameraPos/ja
- LlGetCameraRot/ja
- LlGetCenterOfMass/ja
- LlGetForce/ja
- LlGetFreeURLs/ja
- LlGetGeometricCenter/ja
- LlGetInventoryType/ja
- LlGetLinkMedia/ja
- LlGetListEntryType/ja
- LlGetMemoryLimit/ja
- LlGetMoonDirection/ja
- LlGetMoonRotation/ja
- LlGetPermissionsKey/ja
- LlGetPrimMediaParams/ja
- LlGetRegionMoonDirection/ja
- LlGetRegionMoonRotation/ja
- LlGetRegionSunDirection/ja
- LlGetRegionSunRotation/ja
- LlGetScriptState/ja
- LlGetSPMaxMemory/ja
- LlGetSunRotation/ja
- LlGetTorque/ja
- LlGetVisualParams/ja
- LlGodLikeRezObject/ja
- LlGroundContour/ja
- LlGroundNormal/ja
- LlGroundSlope/ja
L
M
P
R
- LlRefreshPrimURL/ja
- LlReleaseCamera/ja
- LlReleaseControls/ja
- LlReleaseURL/ja
- LlRemoteDataReply/ja
- LlRemoteDataSetRegion/ja
- LlRemoteLoadScript/ja
- Remote data/ja
- LlRemoveVehicleFlags/ja
- LlRequestSecureURL/ja
- LlRequestSimulatorData/ja
- LlResetAnimationOverride/ja
- LlReturnObjectsByID/ja
- LlReturnObjectsByOwner/ja
- LlRezObjectWithParams/ja
- LlRot2Angle/ja
- LlRot2Axis/ja
- LlRot2Left/ja
- LlRot2Up/ja
- LlRotLookAt/ja
- LlRotTargetRemove/ja
S
- LlScriptDanger/ja
- LlSendRemoteData/ja
- LlSensorRemove/ja
- LlSetAngularVelocity/ja
- LlSetLinkCamera/ja
- LlSetEnvironment/ja
- LlSetForceAndTorque/ja
- LlSetInventoryPermMask/ja
- LlSetLinkMedia/ja
- LlSetObjectPermMask/ja
- LlSetPrimMediaParams/ja
- LlSetPrimURL/ja
- LlSetTorque/ja
- LlSetVehicleFlags/ja
- LlSetVehicleFloatParam/ja
- LlSetVehicleRotationParam/ja
- LlSetVehicleVectorParam/ja
- LlSetVelocity/ja
- LlSound/ja
- LlSoundPreload/ja
- LlsRGB2Linear/ja
- LlStopHover/ja
- LlStopLookAt/ja
- LlStopMoveToTarget/ja
- LlStopPointAt/ja
- LlStringToBase64/ja