Browse Search Popular Register Upload Rules User list Login:
Search:
TYHME HELP!

Image:
screenshot of the scene

Author: GMtester

Group: Default

Filesize: 150 kB

Date added: 2015-06-19

Rating: 5

Downloads: 232

Views: 160

Comments: 4

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

How do you do an "and" in an if statement
and other statements?
(please add or,xor ect.)
purple block has script
note:this involes the laser for ATWI
-->RusInvetor for inspiration on Laser!
(part of a big script, it should be able to identify ice
and make it "melt")
{e.user.readingThis.knowAnswerToThisQuestion?=true ? {COMMENT ANSWER PLEASE!}:{THANKS FOR READING THIS ANYWAY!}
-->Xray
My computor/internet broke down and I didn't have any access to internet/another computer
sorry for seeming rude!
A million sorrys/Apologies!
"New-Fangled-Technology-These-Days!"
Last edited at 2015/06/19 03:53:05 by GMtester
Please log in to rate this scene
edit
e.other.materialName == "ice" && e.other.density == 1 ? {liquify} : {}

&& is logical AND
|| is logical OR
! is logical NOT

I don't know if there is a symbol for XOR, but you can probably make it with a combination of AND's and OR's

EDIT: Here is XOR made with AND, OR, and NOT: (a && !b) || (!a && b)
Last edited at 2015/06/19 05:28:50 by Xray
Thanks Xray!
:D:D:D:D:D:D:D:D:D:D
(Now the laser can defeate RusInvetor's laser
and take over algodoo!!!!
MUAHAHAHAHAHA!!!!)
You're welcome!

:tup:
it did not turn it into water:/