Difference between revisions of "PlaceAtMeHealthPercent"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Quetzilla m |
||
Line 1: | Line 1: | ||
=='''Description'''== | =='''Description'''== | ||
'''PlaceAtMeHealthPercent''' places a damaged item in the world. | '''PlaceAtMeHealthPercent''' places a damaged actor or item in the world. | ||
=='''Syntax'''== | =='''Syntax'''== | ||
[''ActorID|ContainerID''.]PlaceAtMeHealthPercent ''ItemID, Count, HealthPercent, Distance, Direction'' | [''ActorID|ContainerID''.]PlaceAtMeHealthPercent ''ActorID/ItemID, Count, HealthPercent, Distance, Direction'' | ||
=='''Examples'''== | =='''Examples'''== | ||
Line 18: | Line 18: | ||
**2 = left | **2 = left | ||
**3 = right | **3 = right | ||
*When using this to create an item from a leveled list, note that the specified health percent overrides the health percentage set by the leveled list. | *When using this to create an actor or item from a leveled list, note that the specified health percent overrides the health percentage set by the leveled list. | ||
=='''See Also'''== | =='''See Also'''== |
Revision as of 19:06, 12 December 2008
Description
PlaceAtMeHealthPercent places a damaged actor or item in the world.
Syntax
[ActorID|ContainerID.]PlaceAtMeHealthPercent ActorID/ItemID, Count, HealthPercent, Distance, Direction
Examples
buddyref.PlaceAtMeHealthPercent testraider 1 .75 512
A raider is placed near Buddy's location at 75% health.
Notes
- Direction is:
- 0 = front
- 1 = back
- 2 = left
- 3 = right
- When using this to create an actor or item from a leveled list, note that the specified health percent overrides the health percentage set by the leveled list.