Author Topic: Player damage/VCE variable's  (Read 874 times)

When i make minigame for a DM or something like that only certain guns hurt people.
It's not that it's a non damaging weapon because weapons I've used before all of a sudden don't work.

Two in one, I'm having some problems with the variable side of VCE.
I was wondering how to display variables in a Center message,chat message Etc.
and how to make it so when, Example: you kill a zombie you get a variable "zombiekill".

When i make minigame for a DM or something like that only certain guns hurt people.
It's not that it's a non damaging weapon because weapons I've used before all of a sudden don't work.

Two in one, I'm having some problems with the variable side of VCE.
I was wondering how to display variables in a Center message,chat message Etc.
and how to make it so when, Example: you kill a zombie you get a variable "zombiekill".
"Certain guns" are raycasting ones, also try enabling friendly fire if you use Gamemode_Zombie or Rot's Zombie mod.

... wow didn't think of that...
Thank You! (not sure if it works yet)

When i make minigame for a DM or something like that only certain guns hurt people.
It's not that it's a non damaging weapon because weapons I've used before all of a sudden don't work.

Two in one, I'm having some problems with the variable side of VCE.
I was wondering how to display variables in a Center message,chat message Etc.1
and how to make it so when, Example: you kill a zombie you get a variable "zombiekill".2
1. onActivate -> Client -> CenterPrnt -> <var:client:ZombieKill> Zombie Kills!
2. onZombieDeath -> Client -> VCE_modVariable -> ZombieKill -> Add -> 1
Somewhere along those lines.

1. onActivate -> Client -> CenterPrnt -> <var:client:ZombieKill> Zombie Kills!
2. onZombieDeath -> Client -> VCE_modVariable -> ZombieKill -> Add -> 1
Somewhere along those lines.

I've tried something like that but i'll try that again.
Thank You!

1. onActivate -> Client -> CenterPrnt -> <var:client:ZombieKill> Zombie Kills!
2. onZombieDeath -> Client -> VCE_modVariable -> ZombieKill -> Add -> 1
Somewhere along those lines.
there's no output for client onzombiedeath, use onbothdeath/killed, and self targets the owner of the brick (i've already tried), and only raycasted weapons were working because they spawn explosions i think at the end