Advertisement
Guest User

RC growing titan script test 1

a guest
May 27th, 2015
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. OnPlayerDieByTitan("myPlayer","myTitan")
  2.  
  3. {
  4.  
  5. VariableInt.Set("myType",VariableTitan("myTitan").GetType());
  6.  
  7. VariableInt.Set("myHealth",VariableTitan("myTitan").GetHealth());
  8.  
  9. VariableFloat.Set("mySize",VariableTitan("myTitan").GetSize());
  10.  
  11. VariableFloat.Set("posX",VariableTitan("myTitan").GetPositionX());
  12.  
  13. VariableFloat.Set("posY",VariableTitan("myTitan").GetPositionY());
  14.  
  15. VariableFloat.Set("posZ",VariableTitan("myTitan").GetPositionZ());
  16.  
  17. VariableFloat.Add("mySize",0.5);
  18.  
  19. Titan.KillTitan("myTitan", "growing", 9999999);
  20.  
  21. Titan.SpawnTitanAt(VariableInt("myType"), VariableFloat("mySize"), VariableInt("myHealth"), 1, VariableFloat("posX"), VariableFloat("posY"), VariableFloat("posZ")
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement