Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 3-Jun-2012 19:11:00

azis bahari
Member
Registered: 3-May-2012
Posts: 28

if in openspace

hi all
how to use if the openspace
and how writing
Please give examples if

Offline

#2 3-Jun-2012 19:48:03

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,081
Website

Re: if in openspace

Hi !

first you set the value to test in the editor.
1 for example
the second value is passed in the link as a parameter

event(0)->if.equal
if.true the link parameter is equal to 1
if.false the link parameter is not equal to 1

Offline

#3 3-Jun-2012 20:01:21

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: if in openspace

Hello,

Please, think to search in the forum, this subject  has been posted several times. cool

Offline

#4 27-Jun-2012 23:42:23

sergio.passos.jr
Member
From: Brazil
Registered: 25-Jun-2012
Posts: 2

Re: if in openspace

How do you pass a global var as the parameter for the if inst? I want to click an object and send a global var previously set as the parameter to check.

I tried the search for this "if" question, but the results are basically everything posted.

Offline

#5 27-Jun-2012 23:49:29

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,081
Website

Re: if in openspace

Hello!

Use the global var plugit and use the links
Event->var.get
Var.value->if.your test

Offline

Board footer

Powered by FluxBB