jaegerman45 wrote:How do i get the sparks thing to work?
Your question is a little vague, but I assume you want sparks to be shot out when you have a hitscan or projectile hit a wall?
Two ways to do it; A_SpawnItemEx, and then make a spark actor. You'll probably have to play around a lot with things like its gravity and velocity.
The second is A_SpawnDebris. Actors spawned through this action function are coded a little differently, and you should check the wiki explanation on that function for more info.