イベント名 関数定義
発生条件
at_rot_target
at_rot_target(integer tnum, rotation targetrot, rotation ourrot)
llRotTargetで設定した目標角度に達したときに発生する。
when a rotational target set with llRotTarget is reached
not_at_rot_target
not_at_rot_target(integer tnum, vector targetpos, vector ourpos)
llRotTargetで設定した目標角度に達して無い時に連続的に発生する。
when a rotational target set with llRotTarget is not yet reached
at_target
at_target()
llTargetで設定した目標座標に達したときに発生する。
when a target set with llTarget is reached
not_at_target
not_at_target()
llTargetで設定した目標座標に達して無い時に連続的に発生する。
when a target set with llTarget is not yet reached
attach
attach(key id)
エージェントからアタッチかデタッチされたときに発生する。
when an object attaches or detaches from agent
changed
changed(integer change)
オブジェクトのある一定の状態(持ち物の内容、オブジェクトやアバターの形、大きさ、テクスチャー、リンク状態、持ち主)が変化したときに発生する。
when certain aspects of the object are changed (inventory, color, shape, scale, texture, link, ownership)
collision
collision(integer num_detected)
オブジェクトが他のオブジェクトと衝突(接触)し続けている時に発生する。
while task is colliding with another task
collision_end
collision_end(integer num_detected)
オブジェクトが他のオブジェクトとの衝突(接触)を終了した時に発生する。
when task stops colliding with another task, or stops being penetrated while llVolumeDetect is set
collision_start
collision_start(integer num_detected)
オブジェクトが他のオブジェクトとの衝突(接触)を開始した時に発生する。
when task starts colliding with another task, or starts being penetrated while llVolumeDetect is set
control
control(key id, integer held, integer change)
llTakeControlsで取得したコントロールのいずれかに対して「押す」「押し続ける」「放す」の動作のいずれかがが行われたとき発生する。
when one of the controls taken with llTakeControls is pressed/held/released
dataserver
dataserver(key queryid, string data)
オブジェクトが非同期データを受信したときに発生する。
when task receives asynchronous data
email
email(string time, string address, string subj, string message, integer num_left)
オブジェクトがE-Mailを受信したときに発生する。
when task receives emai
http_response
http_response(key request_id, integer status, list metadata, string body)

llHTTPRequestで行われたリクエストに対するレスポンスを受信したときに発生する。
when task receives response to request made with llHTTPRequest
land_collision
land_collision(vector pos)
オブジェクトが地面と衝突し続けているときに発生する。
while task is colliding with land
land_collision_end
land_collision_end(vector pos)
オブジェクトが地面との衝突を終了した時に発生する。
when task stops colliding with land
land_collision_start
land_collision_start(vector pos)
オブジェクトが地面との衝突を開始した時に発生する。
when task starts colliding with land
link_message
link_message(integer sender_num, integer num, string str, key id)
llMessageLinkedを経由して送信されたリンクメッセージを受信したときに発生する。
when task receives a link message sent via llMessageLinked
listen
listen(integer channel, string name, key id, string message)
llListenで設定されている検索条件を満たすチャットが聞こえる範囲内にオブジェクトがあるときに発生する。
when task is within hearing range of chat matching the critera set in llListen
money
money(key id, integer amount)
オブジェクトにお金が支払われたときに発生する。
when money is given to task
moving_end
moving_end()
オブジェクトが「移動を終えた時」か「SIMから出た時」に発生する。
when task stops moving or when task exits a sim.
moving_start
moving_start()
オブジェクトが「移動を開始する時」か「SIMに入る時」に発生する。
when task begins moving or when task enters a sim.
object_rez
object_rez(key id)
オブジェクトがllRezObjectを使って他のオブジェクトをREZしたときに発生する。(アバターのインベントリからREZされた場合、他のオブジェクトのコンテンツとしてREZされた場合や、直接アバターのインベントリから装着された場合も含まれます。)
when task rezzes another task using llRezObject
on_rez
on_rez(integer start_param)
オブジェクトがレズされたときに発生する。
when task is rezzed (from inventory or another task, includes attaching directly from inventory)
remote_data
remote_data(integer event_type, key channel, key message_id, string sender, integer idata, string sdata)
何種類かのXML_RPCがやりとりされたときに発生する。
when any kind of XML-RPC communication
run_time_permissions
run_time_permissions(integer perm)
llRequestPermissionを経由してパーミッションを要求したオブジェクトに対して、アバターのユーザーがそれを承認したときに発生します。
when an agent grants run-time permissions to task that were requested via llRequestPermissions
sensor
sensor(integer num_detected)
llSensor or llSensorRepeat関数を実行した結果、探知対象を探知範囲内で探知したときに発生します。
Result of llSensor or llSensorRepeat functions
no_sensor
no_sensor()
llSensor or llSensorRepeat関数を実行した結果、何も探知できなかったときに発生します。
when a call to llSensor or llSensorRepeat results in no targets sensed
state_entry
state_entry()
それぞれのステートに移行し、ステートが開始されるときに発生する。
on any transition into the state and on startup
state_exit
state_exit()
それぞれのステートから他のステートに移行したときに発生する
on any state transition out of the state
timer
timer()
llSetTimerEven関数でセットされた時間間隔ごとに発生する。
in intervals set by llSetTimerEvent
touch
touch(integer num_detected)
ユーザーがオブジェクトをクリックし続けている間連続的に発生する。
while agent clicks on task
touch_start
touch_start(integer num_detected)
ユーザーがオブジェクトをクリックしたときに発生する。
when agent starts clicking on task
touch_end
touch_end(integer num_detected)
ユーザーがオブジェクトをクリックし、ボタンを離したときに発生する。
when agent stops clicking on task
最終更新:2008年02月10日 03:49
添付ファイル