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

For your ifVariable, how exactly does that work?

Does it let the rest of the page turn on that isn't?

I don't understand.. Please clarify.

I think I understand that.. But I had to read it a few times.. =P

I will edit again and tell you if it works...

It'd be nice if you could do some sub variables... Kind of like:

Code: [Select]
On activate self if variable
    if true self if variable do this etc
       if true do this
       if false do that
    if false self variable do that

Basically so that IF something is true you can add another "if" to it's value. I tried to do it earlier and it just gets confused.

Is it possible?

Looks like you wanna forget with the events gui itself, impossible without client having it. And that's to say the least.

Or, you could use <NAMED BRICK>.




 On Topic: Awsome, needed.

O_O i don't fail iternet your sucking noob

I was wondering if there was was anyway to create a server variable that can be changed by all players, like if i make a mining rock and anyone who mines from it adds to the community ore stack? If not, could you make one? plz:P?


sorry, im not following you. Ill try to figure it out but help would be better.

edit: worked. TY. nvm,

edit(again): Do double gates work? such as:
Ifplayer has 10 logs
Ifbrick has 10 coins
give coins to player
give logs to brick

I know it's not real wrench events, but u know what I mean...
« Last Edit: September 17, 2008, 06:10:55 PM by cucumberdude »

sorry, im not following you. Ill try to figure it out but help would be better.

edit: worked. TY. nvm,

edit(again): Do double gates work? such as:
Ifplayer has 10 logs
Ifbrick has 10 coins
give coins to player
give logs to brick

I know it's not real wrench events, but u know what I mean...

Like I said, use <NAMED BRICK> for multiple conditions.
It all has to do with logic.

Look, I'm really sorry. I've spent an hour trying to get it to work, and I can't. If you could post an example that would be great!

Double Toast and mini-bump for help...plz?

Edit: plz???
« Last Edit: September 19, 2008, 08:23:07 PM by cucumberdude »

Bump.
Working on a version 3, suggest ideas.
Currently will include;
Brick - ifBrickNameEquals
Brick - ifColorEquals
Player & Client - ifSuper
Player & Client - ifAdmin
your suggestions here.

there is already an ifcolorequals event. With the other conditional events released.

but i have event ideas that have nothing do with this, that you could add into a different section.

-OnVehicleTouch
-SetRandomColor
-SetBrick - (output parameter is another brick demension. ex: OnActive/ Self / SetBrick / 2x2 )


there is already an ifcolorequals event. With the other conditional events released.

but i have event ideas that have nothing do with this, that you could add into a different section.

-OnVehicleTouch
-SetRandomColor
-SetBrick - (output parameter is another brick demension. ex: OnActive/ Self / SetBrick / 2x2 )


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
« Last Edit: October 10, 2008, 05:15:19 PM by Destiny/Zack0Wack0 »