Lightning Gun Turret
Alan2001 - Custom level - Mar 14, 2015 from Androidusage:
- the in0 socket for the luascript is the aim angle for the gun turret.
- the luascript my also outout a sound when the turret if firing through the out0 socket
- to change the object that the gun fires from change the "objects" variable to the ID of the object that you want to act as the gun
- the gun will fire at the same angle as the object that it is tracking
- the "lightninglength" variable controls how far the sound can travel
Downloads: 271 - Level ID: 14628