Difference between revisions of "PushActorAway"

337 bytes added ,  18:29, 25 December 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Winterbraid
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=='''Description'''==
=='''Description'''==


'''PushActorAway''' Pushes one actor away from another with a given force.
'''PushActorAway''' Knocks down (ragdoll-izes) one actor and pushes it away from another with a given force.


=='''Syntax'''==
=='''Syntax'''==
Line 11: Line 11:
  BuddyRef.PushActorAway FredRef 10
  BuddyRef.PushActorAway FredRef 10
Fred would move away from Buddy with a havok force of 10.
Fred would move away from Buddy with a havok force of 10.
BuddyRef.PushActorAway FredRef -50
Fred will be pulled towards Buddy with a havok force of 50. If they are standing close enough, Fred will slide past Buddy, pushing Buddy away in the process.


=='''Notes'''==
=='''Notes'''==
*iForce is an integer value.
*iForce is an integer value.
*An actor that has been pushed can have its inventory accessed by the player until the actor gets up again.




Anonymous user