Blockland Forums > Help

Variable Help.

Pages: (1/2) > >>

Caveman1127:

Someone told me that I can use variables as killstreaks, without a tall pole stating the killstreak out in then open so someone could click it. I mean by a blockhead getting 7 kills, he'd get a C-130 Bomber.

I want to know if it could be done.

Caveman1127:

Also, if you download too many bricks, is there a possiblity that some of your bricks won't appear?

colonial killer:


--- Quote from: Caveman1127 on January 15, 2012, 03:21:59 PM ---Also, if you download too many bricks, is there a possiblity that some of your bricks won't appear?

--- End quote ---
Don't Know.


But OnTopic:
Yes, you could do this very easily with VCE, but it wouldn't be automatic,  unless you only had one person on the server.  But anyways, yes it is possible so that if you have 7 kills and you click a brick in the spawn room you could collect your rewards

Gen. Hothauser:


--- Quote from: colonial killer on January 15, 2012, 04:36:16 PM ---Don't Know.


But OnTopic:
Yes, you could do this very easily with VCE, but it wouldn't be automatic,  unless you only had one person on the server.  But anyways, yes it is possible so that if you have 7 kills and you click a brick in the spawn room you could collect your rewards

--- End quote ---

for the brick loading thing, it is possible to download too many add-ons so that you have to many datablocks.  this would cause some add-ons, such as bricks, to not appear in your brick menu, thus they woudnt load.

on topic.
clicking a brick for killstreak is possible, but if you want it more streamline, you could use onminigamekill event, from minigame events by destiny.  this in combo with vce allows you to do some pretty flawless stuff.

for killstreaks, use onminigamekill-killer(client)-modvariable-[Playerkillstreak] [add] [1]

then, everytime there is a kill, that player gets a killstreak point added.  another event is needed to check to see if that player has enough poits for a reward, it would go something like--
1 [x]onminigamekill-killer(client)-ifvariable-[playerkillstreak] [==] [3] [2-3]

2 [x]onvariabletrue-player-additem-gun

3 [x]onvariablefalse-client-ifvariable-[playerkillstreak] [==] [5] [4-5]

4 [x]onvariabletrue-player-additem-sniper rifle

5 [x]onvariablefalse-client-ifvariable-[playerkillstreak] [==] [10] [6-6]

6 [x]onvariabletrue-player-additem-mininuke


items were just an example, you can also add messages and soubds whenever a kill streak reward is given.

long post, sorry.

also, i have never in my life tried to do killstreak stuff so im not all that sure this would work, but theoretically it should.

colonial killer:


--- Quote from: Gen. Hothauser on January 15, 2012, 07:39:55 PM ----event snip-

--- End quote ---
I never thought about using onminigamekill, I do believe in theory, he's right.  This should work.

Pages: (1/2) > >>

Go to full version