missile() doesn't have speed argument?
|
You can always use an object.
obj/missle/ |
In response to Avainer1
|
|
Avainer1 wrote:
I am pretty sure missle reads step_size written inside your obj code. I think it was a new feature just recently added. The last argument: Speed: Speed to move, in pixels. 0 uses Ref.step_size. |
In response to Flame Sage
|
|
Flame Sage wrote:
Avainer1 wrote: in the beta? |
He is using obj code for the fireball.
All he has to do is add step_size = [Insert the speed wanted here] and use missile(). Give it a go and tell me teh results. |
In response to Flame Sage
|
|
Flame Sage wrote:
You can always use an object. > obj/missle/ thanks, this actually enabled me to make a really really cool smoke effect. |
Format:
missile(Type, Start, End)
Args:
Type: An object prototype or icon file.
Start: The starting location.
End: The ending location.
Send a missile of the given Type between two locations. The effect is purely visual. When Type is an object, its icon is used for the missile.
Example:
missile(/obj/fireball, usr, loc)