|
Post by cogentjin on Mar 2, 2019 5:44:01 GMT
Hey there, I am integrating (trying) a different package in with Invector's Shooter Template and am stuck at the final puzzle piece. To damage the player, I just use Invector's 'V Object Damage,' however; I am lost on getting this custom AI to react to Invector's bullets.
To help, in order to hurt or damage the custom AI, the code is... SendMessage("ApplyDamage", 100, SendMessageOptions.DontRequireReceiver);
I've tried to add a box collider on the bullets of Invector's template with a script that includes that top code (and a bit more), and it works occasionally, but it is not reliable like Invector's template. My question is, can someone tell me where I should put that code (or any script) that will allowme to use Invector's guns/bullets and hit a custom AI. Thank you, everyone.
|
|
|
Post by cogentjin on Mar 4, 2019 10:55:37 GMT
Solved: I used 'V Health Controller' packaged with the Template and just deleted all the code pertaining to health for the custom AI.
|
|