Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do you make 2 projectiles fire?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do you make 2 projectiles fire? (Read 604 times)
xikrizoix
August 03, 2010, 01:28:55 PM
How do you make more then 1 projectile fire?
Its pretty hard for me.
Ad Bot
Advertisement
TimSama
August 03, 2010, 06:51:27 PM
Find the function that fires the projectile and double it so it does it twice?
Like:
mousefire()
{
blah blah blah(%weapon == 1)
{
FireProjectile()
}
}
You would make the FireProjectile() Function call twice instead of once.
Destiny/Zack0Wack0
August 03, 2010, 08:01:54 PM
Quote from: TimSama on August 03, 2010, 06:51:27 PM
I appreciate your help but your help is simply going to confuse him more.
Take a look at Ephialtes' Shotgun script. You simply spawn 2 projectiles on the WeaponImage's onFire command.
Chrono
August 03, 2010, 11:13:39 PM
Quote from: TimSama on August 03, 2010, 06:51:27 PM
Sorry, but mixing client sided with server sided, especially with non-existent functions is a bad idea.
TimSama
August 03, 2010, 11:30:18 PM
Yeah. . . Sorry bout the bad help, pretty new to coding >.<
Worth a shot? Was it even a guess at a good idea?
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
How do you make 2 projectiles fire?