Tasharen Entertainment Forum
Support => Other Packages => Topic started by: lagerzero on March 14, 2014, 01:21:34 PM
-
Anyone know of a script to make the enemy ship shoot when the ship get close to your Player ship.
I already made a script for the ship to start chasing you when you pass close to it but I'm looking for another behavior to make him shoot.
-
Firing of weapons happens in the SpaceshipController class, inside the Update() function. SpaceshipController simply calls the "Fire" method on the chosen weapon. All weapons have it.
-
I had wanting to know this too