Game Modding | Call of Duty: Black Ops 3 | Scripting
Pepergogo:
Hi I'm trying to add script that heals you when you kill a zombie to a normal weapon. Currently I'm using a "Pro Revenge's" script that spawn a fx when you kill a zombie. The fx work, but the other part of the script doesn't:
And I'm using the Ethereal Razor script for the healing part. Anyone know what could I do to make it work?
Spiki:
Self is zombie
Pepergogo:
Self is zombie
Do you know how can I make for the player? 😭
Spiki:
Do you know how can I make for the player? 😭
prob self.attacker i am unfamiliar with the animscript override func
Pepergogo:
[USER=64]@Spiki[/USER] I'm using the Ethereal Razor script as a guide and I guess the function to give the perk the functionality is this one:
The function "ethereal_razor_heal" is the one I put in the anim script
I try the "self.attacker", but I really don't know where to put it
Hope this script can give more context
F3ARxReaper666:
try that out
also my ethereal razor only works in healing 10 health at a time, if you wanna fully heal the player or change the ammount change the 2 "10"s in
Pepergogo:
try that out
also my ethereal razor only works in healing 10 health at a time, if you wanna fully heal the player or change the ammount change the 2 "10"s in
Thanks for the code. Gonna try that when I get home
Pepergogo:
try that out
also my ethereal razor only works in healing 10 health at a time, if you wanna fully heal the player or change the ammount change the 2 "10"s in
[USER=230]@F3ARxReaper666[/USER] Hi, I try the code but it doesn't heal you :( I use the default value of 10 and then I change the value to 70 to check if the heals work but stays the same
I record a video to show what happen normally and when I kill a zombie
F3ARxReaper666:
it doesn't change the red screen if you get healed, run a test script to print the players health and you can see it should raise it when getting kills
Pepergogo:
it doesn't change the red screen if you get healed, run a test script to print the players health and you can see it should raise it when getting kills
Oh ok ok 😂 Gonna search for a healing script or command and take a look. Thanks 😎
Pepergogo:
[USER=230]@F3ARxReaper666[/USER] Just one more question For other weapon I'm gonna use the same override function, but instead of the healing part I'm looking to decrease the life of the zombie for 3 seconds after you shoot him.
Like shoot it and if he doesn't die, then every second for 3 seconds he loose 10% percent of life or something like that.
Do you know how can it be done? I was trying to use the Harry's Napalm script (for the fire that kill the zombies) as a guide but is a little hard to understand.
Pepergogo:
[USER=230]@F3ARxReaper666[/USER] Sorry for tellling you the heal script doesn't work, but I try it again and works perfectly fine. I just want to say thanks a loooot for your help :D