Blockland Forums > Suggestions & Requests
IF and OR events
Ducky duck:
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?
nerd of the week:
Possible and good idea /support
XR-7:
pretty sure that
if {
} else {
}
are the exact same thing?
Fab:
cant VCE do this
BlockoCrafter:
--- Quote from: Fab on February 09, 2014, 10:34:15 AM ---cant VCE do this
--- End quote ---
Yes. It's virtually the same concept, too.