Blockland Forums > Modification Help
Getting weapon image from a projectile
(1/1)
Jorgur:
How do I get the firing weapon image for a projectile?
Chrono:
You would have to package the firing function to add the image's name to the projectile as a value.

example

package
firing function
%p = parent function
%p.image = %this
return %p

Problem is that this wont work for all weapons.
Example, a shotgun. Only one of the projectiles will actually have this value.
Navigation
Message Index

Go to full version