Author Topic: Personalization (BL_ID) events  (Read 2266 times)

I think it's:
on (whatever) > target (whatever) > ifVariable > "<var:cl:blid>" == "(your ID)"
ifVariableTrue > target (whatever) > (what you want it to do when the ID was what you specified)
ifVariableFalse >target (whatever) > (what you want it to do when the ID was not)I wouldn't say to do that
might as well provide some knowledge when it's relevant

It's bl_id

And use Ifvalue, not Ifvariable.


Event_MorDoor
http://forum.blockland.us/index.php?topic=224030.0

restriction events for the better brick doors (and legacy doors if you are a hipster)

I don't think it matters here

It does.  Use Ifvariable when it is just the name of the variable, use Ifvalue when the variable is in its value form or if using a variable replacer.

Ifvariable Ducks == 5

Vs

Ifvalue <var:pl:ducks> == 5

And since bl_id is a value, not a variable, IfValue must always be used.

Do RetroCheck - ifBlid == BlocklandID instead of ifValue - <var:cl:bl_id>. It is easier.

ifVariable is checking the "self" or "client" or "player" or whatever you set it to.
« Last Edit: September 19, 2013, 07:59:45 PM by Advanced Bot »

Do RetroCheck - ifBlid == BlocklandID instead of ifValue - <var:cl:bl_id>. It is easier.

ifVariable is checking the "self" or "client" or "player" or whatever you set it to.

Though the former is easier, the latter would be better to use because that format is more widely used than the former.  There are, what, like seven or eight retrocheck options?  It'd be better to get used to the latter format if you want to get into VCE (which I suggest you do, OP, because it is very useful).  But, if you don't care how you do it or don't want to get into VCE, go with the former option.

It is bl_id and name for the ifValue event.

Code: [Select]
registerSpecialVar(GameConnection,"bl_id","%this.bl_id");
registerSpecialVar(GameConnection,"name","%this.getPlayerName()");

Code: [Select]
<var:cl:name>
<var:cl:bl_id>