#projecctile issues
1 messages · Page 1 of 1 (latest)
can any1 help
im tryna make it not have explosion sound or particles
also i want it to run commands on hit cant figuire that out
Idk
wdym
u got any idea
@clear mauve
how to make entity run command on impact
prjectile
I would think raycasting
whats that
Like shoot a super fast invis projectile
And then shoot the main projectile
i just need it to run a command on impact with blocks or player
But yea look into ray casting
Think so
pls
Just use the on_hit event
And use run_command
It'll allow you to run a command whenever you projectile hits an object, much simpler than anything like scripts and anything else of the sort
yeah i did
it doesn’t work tho
i made an event
if u could take a look at the code and tell me why the event doesn’t work
i don’t get it
Ill see what I can understand from your code and tell you if there are any problems
alr
No problem
The format you used is outdated
I've made an example of the correct format for you to use, here's what it looks like
i tried that it didn’t work
can you show me the full code maybe there’s something else i’m missing
also do you know any way to make the particle not play explosion sound or particle even ought to i have exploded component
because i’m gonna use on hit events ro play my own sounds and particles
If you want an explosion without the particles, then you'll have to replace the explosion particles with an empty texture, there's no other way to do so, if I'm not mistaken
Sorry, I cut off that bit of the text accidentally, that is required
i’ll try this once i’m home i’ll let u know how it works out
i thought i did it before strange
i know it can be wind particles instead
just wondering if it could be anything else
I know what it is now
Target: self goes inside event_trigger
uh ok ill try that and let u know
does this look good?
this is the event
still doesnt work
Try changing the format version to 1.21.10
still doesnt work
can we vc or smt
i cant get this thing to work
I'm sorry, but I can't
Try adding affect_projectile to definition_event
can i send u the code and u can see whats the issue bc idek why it isnt working anymore
.