Difference between revisions of "PlaceAtMeHealthPercent"

From GECK

 
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(4 intermediate revisions by 3 users not shown)
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, HealthPercent, Count, Distance, Direction''
  
 
=='''Examples'''==
 
=='''Examples'''==
  
  buddyref.PlaceAtMeHealthPercent testraider 1 .75 512
+
  buddyref.PlaceAtMeHealthPercent testraider .75 1 512
 
A raider is placed near Buddy's location at 75% health.
 
A raider is placed near Buddy's location at 75% health.
  
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'''==
Line 28: Line 28:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Functions (GECK 1.1)]]

Latest revision as of 12:55, 15 August 2009

Description

PlaceAtMeHealthPercent places a damaged actor or item in the world.

Syntax

[ActorID|ContainerID.]PlaceAtMeHealthPercent ActorID/ItemID, HealthPercent, Count, Distance, Direction

Examples

buddyref.PlaceAtMeHealthPercent testraider .75 1 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.

See Also

PlaceAtMe

Personal tools