View Single Post
Old 10-13-2017   #5
Raze C
The Not Proud
 
Raze C's Avatar
Default

Quote:
Originally Posted by Monster Iestyn View Post
The projectile page isn't clear on how to use projectiles because there are many ways to use them. For instance it lists many actions that do exactly that, such as the A_SplitShot one you've chosen to use there. =P

That said I'm not sure if you're using A_SplitShot correctly there...

From A_SplitShot's wiki article (https://wiki.srb2.org/wiki/A_SplitShot):


if you're confused about the lower/upper 16 bits thing for Var2, it just means you need to set Var2 to "MT_OBJECTTYPE+(height<<16)", MT_OBJECTTYPE being the type of Object you want the actor to fire and height being the height offset (relative to the z position of the actor's bottom).
Okay, i'll be trying now.

---------- Post added at 05:58 PM ---------- Previous post was at 05:20 PM ----------

EDIT: I'm really bad at scripting... i'm done!
__________________
Quote:
Originally Posted by LakeFeperd
Welcum to Hedge Land, world's best mental hospital.
SoundCloud: https://soundcloud.com/nitrocezar
Raze C is online now   Reply With Quote