Blockland Forums > Help
Player damage/VCE variable's
sucon:
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".
Khain:
--- Quote from: sucon on February 28, 2010, 06:28:02 PM ---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".
--- End quote ---
"Certain guns" are raycasting ones, also try enabling friendly fire if you use Gamemode_Zombie or Rot's Zombie mod.
sucon:
... wow didn't think of that...
Thank You! (not sure if it works yet)
Orthone:
--- Quote from: sucon on February 28, 2010, 06:28:02 PM ---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
--- End quote ---
1. onActivate -> Client -> CenterPrnt -> <var:client:ZombieKill> Zombie Kills!
2. onZombieDeath -> Client -> VCE_modVariable -> ZombieKill -> Add -> 1
Somewhere along those lines.
sucon:
--- Quote from: Orthone on February 28, 2010, 06:37:38 PM ---1. onActivate -> Client -> CenterPrnt -> <var:client:ZombieKill> Zombie Kills!
2. onZombieDeath -> Client -> VCE_modVariable -> ZombieKill -> Add -> 1
Somewhere along those lines.
--- End quote ---
I've tried something like that but i'll try that again.
Thank You!