how can i make an rustler shoot likes an hydra and drop bombs?
#4

1) when player presses the shoot key (OnPlayerKeyStateChange) use CreateObject and MoveObject to create and move a bomb towards ground (use MapAndreas to get the Z coord)

2) when object has stopped moving (OnObjectMoved) destroy the object (DestroyObject) and create explosion (CreateExplosion)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)