#1

How can I set tree health,and that I can cut him.When I cut him that he falls? Sorry for by bad English.
Reply
#2

CreateObject -> OnPlayerWeaponShot (hittype object) -> Cutted (SetObjectRot(90.0, 0, 0).
Reply
#3

Can you explain,please?
Reply
#4

Quote:
Originally Posted by ranme15
Посмотреть сообщение
CreateObject -> OnPlayerWeaponShot (hittype object) -> Cutted (SetObjectRot(90.0, 0, 0).
Only if you "cut" it with ceratin weapons. Weapons that shoot bullets to be exact. So a thing like a spade won't work.


My suggestion:
  • Create a variable for vehicle health
  • Create a tree object
  • Choose a way that the tree will be cut: pressing a key, a command
  • When a player interacts with that tree, lower it's health and check if it zero
  • If it is 0. Remove that tree object and create some sort of fallen tree object
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)