Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would you script fireball or any part based projectile weapon?

Asked by 5 years ago

The way i do it is the make the trigger, getting the mouse position, on the client side, and do everything else on the server side, from creating the projectile, its visual, setting its velocities, and collision detection.

I'm sure theres a lot more efficient algorithm out there, how would you script your fireball?

2 answers

Log in to vote
1
Answered by 5 years ago

sry for my bad english

Like u said :

Getting the mouse.position on the client side and do everything else on server side

I dont know if there any other ways to do it.

Have a good day :D

0
When I find other ways I let you know about it itz_rennox 412 — 5y
Ad
Log in to vote
1
Answered by 5 years ago

I usually spawn my fireballs at the client’s head, send the server Mouse.Hit and then spawn it from there.

It’s best to do all things that can be abuse able on the server rather then the client.

Answer this question