Author Topic: IF and OR events  (Read 1439 times)

I look at the event system as a Torque script GUI.

And this would be like a slight advanced part of the GUI.


Python and LUA use the command If for alot of things AND use Or.

For blockland it would work like this-

IF:

Onactivate Self OUTPUT if DROPLIST-
                                         Admin
                                         BL ID= [typeBLIDhere]
                                         Super Admin
                                         Host
                                         Onteam [TEAMLIST]
                                         Moderator
                                         Player
OR:

Onactivate self Output or if DROPLIST^ Output

Like a shortening for events instead of doing

Onactivate self spawnexplosion NuclearRocket if Admin
Onactivate self spawnprojectile NuclearRocket if Player

Complete example-

OnActivate-self-disapear-if-Admin

Onactivate-self-disapear-OrIf-Admin-Spawnexplosion-NuclearRocket

Could someone make this?

Possible and good idea /support

pretty sure that

if {

} else {

}

are the exact same thing?



I think it would make more sense if you would put the if/or(else) before the input.
onActivate > if(Admin) > setHealth 100
onActivate > if(Normal) > setHealth 0
Would be easier to implement as well, but even so there would be too many things to include for those to work, they would clog more than it's wroth
Code: [Select]
if(Normal-Self)
if(Normal-Client)
if(Normal-Player)
if(Normal-Minigame)
if(A-Self)
if(A-Client)
if(A-Player)
if(A-Minigame)
if(SA-Self)
if(SA-Client)
if(SA-Player)
if(SA-Minigame)
if(Host-Self)
if(Host-Client)
if(Host-Player)
if(Host-Minigame)

VCE, despite needing longer event codes, is going to be more effective no matter how you look at it.

cant VCE do this


Yea, but not many people know how to use it, like me.

This would be something for people that cant do VCE or code.



Yea, but not many people know how to use it, like me.

This would be something for people that cant do VCE or code.
*facepalm
figure out how to use vce then

vce is easy as forget
sure at first it might look complicated but it's really easy to get broken into

The wrench events aren't a "TorqueScript GUI."

That's just silly.

*facepalm
figure out how to use vce then

I just don't understand what you people are trying to do...

Please stop saying these things.
« Last Edit: February 09, 2014, 06:55:23 PM by Ducky duck »


Anyone vote to stop helping people who can't help themselves?

There's a solution already available for this, he's just refusing to use it.

Stop with the flaming.

onActivate>Self>retroCheck>[stuff]
onVariableTrue>[blah]>[blah]>[blah?]