| Blockland Forums > Modification Help |
| VCEPrints, how do you make it refresh when you fire any weapon? |
| << < (2/2) |
| Kiwi:
In the VCEPrints script is some code that refreshes the HUD when your score changes --- Code: --- function GameConnection::setScore(%this,%score) //for <var:cl:score> changes { %ret = Parent::setScore(%this,%score); %this.VCEPrints(); return %ret; } --- End code --- Or your health --- Code: --- function Armor::onDamage(%data,%this,%damage) //for <var:pl:health> and <var:pl:damage> changes { %ret = Parent::onDamage(%data,%this,%damage); if(isObject(%this.client)) %this.client.VCEPrints(); return %ret; } --- End code --- And VCEPrints are user controllable bottom or center screen prints. When the weapon does onFire() the vce print should refresh. Thank you Bauklotz for your reply I will try this. |
| phflack:
--- Quote from: Deathwishez on December 24, 2010, 01:49:33 PM ---HUDPrints, which updates every 100ms. --- End quote --- i think i'll be liking those more then, if they're released :D |
| Deathwishez:
--- Quote from: phflack on December 24, 2010, 04:54:29 PM ---i think i'll be liking those more then, if they're released :D --- End quote --- Hell, why not. I'll see if I can get it through RTB security. Edit: Submitted, and awaiting approval. |
| Kiwi:
--- Quote from: Deathwishez on December 25, 2010, 03:36:35 PM ---Hell, why not. I'll see if I can get it through RTB security. Edit: Submitted, and awaiting approval. --- End quote --- The admins at RTB are currently sleeping or celebrating christmas, whatever. Three of the mods at RTB stay there for nearly 2 months now. Could you upload it to MediaFire and give us the link? |
| Navigation |
| Message Index |
| Previous page |