emitted shot exploding on shooter - Page 2

emitted shot exploding on shooter

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: emitted shot exploding on shooter

Post by smoth »

I am just asking why shotx instead of fireweaponx
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: emitted shot exploding on shooter

Post by knorke »

FireWeapon is called once at the beginning of the salvo. Shot is called just before each projectile is fired. RockUnit (see below) is called just after all projectiles for that frame have been fired. At the end of the salvo, EndBurst is called.
http://springrts.com/wiki/Animation-LuaCallins
Post Reply

Return to “Game Development”