Smurf_Impact Posted December 27, 2008 Share Posted December 27, 2008 Hello, I'm working on making remote explosives. So far, everything is working fine except one thing. When I trigger the explosives and that the explosion kills a target, lets say a raider, I don't get any experience. I'm using the FOSE function IsKeyPressed in gamemode to trigger the explosives. First, I tried using the DamageObject function while putting the explosion in the destruction data of the object. When I shoot the object, I get the desired experience if a target gets killed while when I trigger the explosion using the keyboard, that doesn't give the player any experience. I also tried the PlaceAtMe function to place an explosion at the location of the object, which doesn't work either experience-wise. My question is: How can I link the player to be the cause of an explosion, so that the player gets experience when killing a target with it? Thanks!Smurf_Impact Link to comment Share on other sites More sharing options...
spineynorman Posted December 27, 2008 Share Posted December 27, 2008 is the remote explosive classed as a player weapon? you don't get experience when you trigger kills from unowned world objects like cars or gas tanks either. Link to comment Share on other sites More sharing options...
Smurf_Impact Posted December 27, 2008 Author Share Posted December 27, 2008 Yeah that's what I figured out for the explosion thing. What I'm asking is if there's a way to update the source of the explosion to be the player, just like for projectiles (mines) and their linked explosions. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.