Author Topic: Variable/Conditional Events (V.4)  (Read 68588 times)

SetBrick will cause overlapping bricks, on vehicle touch is impossible with out engine changes, and setrandom color I might make.
I also just got a idea, how about ifDiceRoll 1dieamount 2Diesides 3What You want it to equal and ifRandom, 1minimum random number 2maximum random number 3What you want it to equal

1. ok worth a try though ;\

2. really? didn't know that.. is there a way you could make a playa datablock like a car, so that you are a car and so on playertouch will apply to it?

3. yeah that would be useful

dice??

ok what can i do with this and how i have no idea how to d it s it like my mindstorm programing stuff i set a random number if its more then 50 move farward(what i want to do is player spawn on blockland) nad if its not move backward (player kill on blockland) how do i do that in blockland or something similar

Version 3:
  • ifAdmin
  • ifBrickNameEquals
  • ifPlayerNameEquals
  • ifRandomDice
  • ifRandom

Please report if you find any bugs.
Chrono please update the RTB Upload with this when you can.

howdo i use them??? i dont know much

loving Epic Win! But I still haven't figured out how to make an event system that checks for two variables, IE:
if player coins AND smithing level greater/equals 10, then spawn sword.
Could someone post a demo save?

Just make a couple of invisible bricks somewhere, then name them Handler1, Handler2, etc.
Now when a player activates your event, make it do a ifVariable for namebrick handler1 and hadnler 2 for each of the separate vars you want to check. Then just go to the namebricks, and put in the VariableTrue, client, add variable > cansmithitem by 1. Then do the same with the other named brick. Now make on the main brick, your input event, ifVariable cansmithitem equalsgreater 2. Then variableTrue on the main brick, and now reset cansmithitem to 0. Now do another variable true and do the rest of the stuff you want.

If my post just made absolutely no sense, tell me and I'll post a save.

Argh. Might try to figure it out later, I'm gonna go mod warcraft... :(

Argh. Might try to figure it out later, I'm gonna go mod warcraft... :(
you play wow whats your charectors name and ps HOW IN THE WORLD DO I USE THIS i want something like on activate if player has sword spawn gun

i need some help with this, i made an RPG based on the vars, which means everything is fully automatic, but i cant solve the problem that on death the vars are starting as 0 again, i tryed a bank system but the only one i know how to make is also based on vars who will start at 0 on death, help?

try something like you cant die that will fix it

try something like you cant die that will fix it

in an RPG there are weapons to sale, cops, gangsters
death is like 50% of an RPG (death is the motivate to the weapon stores, the cops/gangsters action etc.)

oh well i have no ideea how to use the vars SOME1 EXPLAIN IT TO ME ONE STEP AT A TIME

in an RPG there are weapons to sale, cops, gangsters
death is like 50% of an RPG (death is the motivate to the weapon stores, the cops/gangsters action etc.)

Set the variables to the client not the player. The client will remember the whole stay.

Thank you

btw, great addon

If you want a player to remember vars, so when they leave and come back they still have them, I could make the next version save them and load them up next time.