Welcome,
Guest
. Please
login
or
register
.
December 01, 2024, 01:06:30 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
Other Packages
»
SGSK - Enemy ship gun shooting
« previous
next »
Print
Pages: [
1
]
Author
Topic: SGSK - Enemy ship gun shooting (Read 3168 times)
lagerzero
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
SGSK - Enemy ship gun shooting
«
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.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: SGSK - Enemy ship gun shooting
«
Reply #1 on:
March 14, 2014, 01:32:09 PM »
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.
Logged
jannugimes
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: SGSK - Enemy ship gun shooting
«
Reply #2 on:
April 24, 2014, 11:08:33 AM »
I had wanting to know this too
Logged
affiliate marketing programs
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
Other Packages
»
SGSK - Enemy ship gun shooting