I'm trying to determine a method of having projectiles and monsters check their target and identify specific regions on the target's body like the hands, feet, torso, shoulders (which would be set as user variable offset values on the target actors spawn state) and then have a workable way to apply those offsets as x,y,z coordinates, on functions like A_custommissile and A_customrail attack. Also the A_warp function.
Lastly, I was hoping to know if its possible for puff actors to give inventory items to their victim actors/targets.
Any ideas?
Thank you
Smart Targeter
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Re: Smart Targeter
For the second one, yes you can use [wiki]Actor_Flags#HITTARGET[/wiki] and [wiki]A_GiveInventory[/wiki] using something like A_GiveInventory("Item",1,AAPTR_TARGET)
Re: Smart Targeter
Thanks for the response but I realize that there are probably engine bugs occurring with attempts here so I will report this to DRD.