Let A,B be display blocks.
A has "[shieldPercent]" written on it. An activation block next to A is linked to B and switched on. B will now have "[shieldPercent]" stored as data, too (still displaying the number, but the data is not the same as the number as string).
I suggest there to be a "reverse escape": \[shieldPercent] will transfer the value of shieldPercent at the time of the transfer. B would then have "100.0" written on it, or some other value.
Possible uses:
- LOGS. Navigation logs (lists last 10 sectors visited), Shield logs, ....
- Another way to query for certain specific values. Comparing a display block with "100.0" on it, and a display block with "\[shieldPercent]" on it would be TRUE if shieldPercent actually was 100.0 at that time. Works the same way with cloaked, jammed, docked.... or even check if your ship is in your home sector!
- Stuff.
A has "[shieldPercent]" written on it. An activation block next to A is linked to B and switched on. B will now have "[shieldPercent]" stored as data, too (still displaying the number, but the data is not the same as the number as string).
I suggest there to be a "reverse escape": \[shieldPercent] will transfer the value of shieldPercent at the time of the transfer. B would then have "100.0" written on it, or some other value.
Possible uses:
- LOGS. Navigation logs (lists last 10 sectors visited), Shield logs, ....
- Another way to query for certain specific values. Comparing a display block with "100.0" on it, and a display block with "\[shieldPercent]" on it would be TRUE if shieldPercent actually was 100.0 at that time. Works the same way with cloaked, jammed, docked.... or even check if your ship is in your home sector!
- Stuff.