Page 1 of 1

Set CE Value = Element value of current element

Posted: Sat Nov 03, 2007 3:21 pm
by Zomis
There is [Element] Target and [Element] Trigger. But what if my CE has other targets and triggers defined, and I want to set CE value to the current CE's element number? Then there's no option available for me to use.

Posted: Sun Nov 04, 2007 8:49 am
by Sascha
I also had such a problem:
If an element changes to another element, the CE value of the original CE should be maintained while it is not existing anymore. D'you mean that? :?:

Posted: Wed Nov 07, 2007 4:28 pm
by Holger
> But what if my CE has other targets and triggers defined, and I want to set
> CE value to the current CE's element number? Then there's no option
> available for me to use.

Yes; something like "[element] this" seems to be missing and could be useful.

As a workaround, you could also use the "CE delay" value and directly select the CE number there (which is not nice, but works).

> If an element changes to another element, the CE value of the original CE
> should be maintained while it is not existing anymore.

Well, this is something completely different. When a CE changes, the CE value cannot be maintained anymore, because it is not bound to a generic CE or a definition of a CE, but to the _instance_ of a CE. While the CE score is the same for all CEs of that kind, the CE value is always a different one for each instance of that CE on the playfield. If it vanishes, its CE value is lost, too. (The only solution is to store it in a different CE when the first CE changes.)

Posted: Thu Nov 08, 2007 2:59 pm
by Sascha
ah well, then it's different....

Posted: Thu Nov 08, 2007 4:36 pm
by Zomis
>As a workaround, you could also use the "CE delay" value and directly
>select the CE number there (which is not nice, but works).

But what if the "CE delay" value also is occupied, by the change condition?

>> If an element changes to another element, the CE value of the original
>> CE
>> should be maintained while it is not existing anymore.

>Well, this is something completely different. When a CE changes, the CE
>value cannot be maintained anymore, because it is not bound to a generic
>CE or a definition of a CE, but to the _instance_ of a CE. While the CE score
> is the same for all CEs of that kind, the CE value is always a different one
>for each instance of that CE on the playfield. If it vanishes, its CE value is
>lost, too. (The only solution is to store it in a different CE when the first CE
>changes.)

The "keep CE value after change" option is also a solution, isn't it?

Posted: Thu Nov 08, 2007 11:22 pm
by Holger
> But what if the "CE delay" value also is occupied, by the change condition?

Then there's no solution I know of...

(CE actions probably really need a dedicated number gadget independently from number gadgets used for other purposes.)

> The "keep CE value after change" option is also a solution, isn't it?

Yes, if the new CE should carry over the CE value of the previous CE, than this is how to do it (if this was what Sascha meant).

Posted: Fri Nov 09, 2007 3:57 pm
by Sascha
I think I see the problem clearly. A CE cannot keep its CE value when it's not existing anymore. A CE value needs a CE, doesn't it?