Author Topic: Variable Help.  (Read 951 times)

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.

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

Also, if you download too many bricks, is there a possiblity that some of your bricks won't appear?
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

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

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
  • onminigamekill-killer(client)-ifvariable-[playerkillstreak] [==] [3] [2-3]


2
  • onvariabletrue-player-additem-gun


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


4
  • onvariabletrue-player-additem-sniper rifle


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


6
  • 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.

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

Hey man thanks, this should make my server a bit better.

Doubletoast, I have to type in player killstreak? Will it work that way?

Doesn't work. I tried everythang.

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.
The datablock limit is 4096. If you download every stuff you can find it'sn easy to get over this, but if you just use brick add-ons (what i don't think anyone does) its almost impossible to get over.