Difference between revisions of "LlSetDamage"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
{{LSL_Function|func_id=157|func_sleep=0.0|func_energy=10.0|func=llSetDamage|p1_type=float|p1_name=damage| | {{LSL_Function | ||
|func_id=157|func_sleep=0.0|func_energy=10.0 | |||
|sort=SetDamage | |||
|func=llSetDamage|p1_type=float|p1_name=damage | |||
|func_footnote=If '''damage''' is greater then 100.0, it will kill the agent it hits. If the object hits another object it will {{LSLG|llDie|die}}. | |||
|func_desc=Sets the amount of damage that will be done when this object hits an agent. | |||
|return_text | |||
|spec | |||
|caveats | |||
|constants | |||
|examples | |||
|helpers | |||
|also_functions | |||
|also_events | |||
|also_articles | |||
|notes | |||
|permission | |||
|negative_index | |||
|cat1 | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}} | |||
{{LSLC|Stub|SetDamage}} |
Revision as of 06:59, 8 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSetDamage( float damage );157 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Sets the amount of damage that will be done when this object hits an agent.
• float | damage |
If damage is greater then 100.0, it will kill the agent it hits. If the object hits another object it will die.