Hi@all,
I just wanted to know if it’s possible to compare 2 dynamic values with the wolfenstein script. The script should compare for example accum 1 with accum 2. I want to make a demonstrationmap how “bubblesort” works. So i need some variables to be compared. Here’s a part from the script, that doesn’t work:
trigger position1
{
trigger position1excheck
accum 1 abort_if_bitset 1
trigger self position 2
}
trigger position1excheck
{
accum 1 abort_if_less_than accum 2// problem?! :bash:
accum 1 bitset 1
trigger self position1exchange
}trigger position1exchange
{
trigger Block1 exchangeforw
trigger Block2 exchangebackw
wait 2000
accum 1 inc 1
accum 2 inc -1
trigger self positon2}
You see, this is not possible with the given scripting commands, isn’t it? Any ideas?
greetz
Maggumaster