Besiege

Besiege

Not enough ratings
SetGet Type-B v1
   
Award
Favorite
Favorited
Unfavorite
Types: Levels
Level Categories: Sandbox
File Size
Posted
Updated
239.722 KB
6 Apr, 2020 @ 2:15am
19 Oct, 2020 @ 7:54am
3 Change Notes ( view )

Subscribe to download
SetGet Type-B v1

In 1 collection by Nice Name
Nice Name Science
116 items
Description
SetGet Bv1 Is a variable system which you can input and output variables with ease.
SetGet Bv1 是一個能讓使用者輕鬆輸入輸出變數的變數系統。

To set a variable you can do as follow:
你可以如此輸入變數:
Variable "i +(-54871~54871)", select "SetGet Bv1"

To get a variable you can do as follow:
你可以如此輸出變數:
Variable "start +0", select "SetGet Bv1"

Default Output:
預設輸出:
Variable "o +(output)"

The capacity of SetGet Bv1 example is ±54871, try not to go over that. But if you really want to increase its capacity, you can contact me.
SetGet Bv1 範本的臨界值是「±54871」,盡量別超過它。但若你真的想要更大的容量的話,你可以找我幫忙。

The stored variables can be output with actions such as the transform logic, or simply a variable. To modify the output you can change the default output at the "Output Section 2" in the logic overview.
被儲存的變數能被轉化成任何邏輯事件如「座標變換」或「變數」等。若要進行設定,你能在邏輯總覽的第二輸出區找到預設的輸出並加以更改。

SetGet Bv1 is not the only variable system that can input and output variables, there is also SetGet v6 and SetGet Cv1 are systems which function just like Bv1, but used a totally different algorithm to process variables.
SetGet Bv1 並非唯一能處理變數的變數系統,SetGet v6SetGet Cv1是兩個與 Bv1 功能大致一樣,但演算法卻完全不同的變數處理系統。

200413 update
Removed "limit" function, that causes bug. It might be gone just temporary though.
因為會出Bug所以移除了 "limit" 功能,但大概是暫時性的。

201018 update
I have noticed a bug in the system which caused negative-values-processing to malfunction. But I can't update the file for unknown reason, I'll update the fixed version as soon as possible.
我意識到了系統中會讓負數處理區出問題的Bug,但我不知道為甚麼沒辦法更新檔案。我會盡量趕快更新修好之後的版本。

201019 update
Bv1 updated. Thanks to seukari's help on a technical issue so I can finally update this work!
版本更新了,感謝 seukari 在技術層面上的幫忙以讓我能順利更新!

210618 update
Bv1 has been updated to based-38 wtih v6, some adjustments was done too:
Bv1 隨著 v6 一起更新為38進位制了。且系統也做了些調整,詳見下列:
Variable Names
變數名稱
Adjustments
調整
S1
Combined with "s1"
與「s1」合併
S2
Combined with "s1"
與「s1」合併
s1
Removed
已移除
s2
Removed
已移除
in
Changed to " i "
更名為「i」
ex
Changed to " start "
更名為「start」
VarName
Changed to " o "
更名為「o」

Logic Overview
On Variable "i >0"
 Variable "s1 +1", SetGet Bv1
 Variable "s2 =0", SetGet Bv1
 Variable "D1 +0", SetGet Bv1

On Variable "i <0"
 Variable "s1 =0", SetGet Bv1
 Variable "s2 +1", SetGet Bv1
 Variable "D2 +0", SetGet Bv1

On Variable "s1 =1"
 Deactivate
  Variable "D1 +1", SetGet Bv1
  Variable "D2 +1", SetGet Bv1
  Variable "d1 +1", SetGet Bv1
  Variable "d2 +1", SetGet Bv1
 Activate

On Variable "s2 =1"
 Deactivate
  Variable "D1 +1", SetGet Bv1
  Variable "D2 +1", SetGet Bv1
  Variable "d1 +1", SetGet Bv1
  Variable "d2 +1", SetGet Bv1
 Activate

On Variable "D1 =1"
  Deactivate
   Variable "start +1406", SetGet Bv1
  Activate
 Variable "i -1406", SetGet Bv1

On Variable "D2 =1"
  Deactivate
   Variable "start -1406", SetGet Bv1
  Activate
 Variable "i +1406", SetGet Bv1

On Variable "D1 =2"
  Deactivate
   Variable "start +38", SetGet Bv1
  Activate
 Variable "i -38", SetGet Bv1

On Variable "D2 =2"
  Deactivate
   Variable "start -38", SetGet Bv1
  Activate
 Variable "i +38", SetGet Bv1

On Variable "D1 =3"
  Deactivate
   Variable "start +1", SetGet Bv1
  Activate
 Variable "i -1", SetGet Bv1

On Variable "D2 =3"
  Deactivate
   Variable "start -1", SetGet Bv1
  Activate
 Variable "i +1", SetGet Bv1

On Variable "i =0"
 Variable "s1 =0", SetGet Bv1
 Variable "s2 =0", SetGet Bv1
 Variable "D1 =0", SetGet Bv1
 Variable "D2 =0", SetGet Bv1
 Variable "d1 =0", SetGet Bv1
 Variable "d2 =0", SetGet Bv1
Input Section
輸入區
On Variable "start >0"
 Variable "s1 +1", SetGet Bv1
 Variable "s2 =0", SetGet Bv1
 Variable "d1 +0", SetGet Bv1

On Variable "start <0"
 Variable "s1 =0", SetGet Bv1
 Variable "s2 +1", SetGet Bv1
 Variable "d2 +0", SetGet Bv1

On Variable "d1 =1"
 Variable "o +1406"
  Deactivate
   Variable "i +1406", SetGet Bv1
  Activate
 Variable "start -1406", SetGet Bv1

On Variable "d2 =1"
 Variable "o -1406 "
  Deactivate
   Variable "i -1406", SetGet Bv1
  Activate
 Variable "start +1406", SetGet Bv1

On Variable "d1 =2"
 Variable "o +38 "
  Deactivate
   Variable "i +38", SetGet Bv1
  Activate
 Variable "start -38", SetGet Bv1

On Variable "d2 =2"
 Variable "o -38 "
  Deactivate
   Variable "i -38", SetGet Bv1
  Activate
 Variable "start +38", SetGet Bv1

On Variable "d1 =3"
 Variable "o +1
  Deactivate
   Variable "i +1", SetGet Bv1
  Activate
 Variable "start -1", SetGet Bv1

On Variable "d2 =3"
 Variable "o -1"
  Deactivate
   Variable "i -1", SetGet Bv1
  Activate
 Variable "start +1", SetGet Bv1

On Variable "start =0"
 Variable "s1 =0", SetGet Bv1
 Variable "s2 =0", SetGet Bv1
 Variable "D1 =0", SetGet Bv1
 Variable "D2 =0", SetGet Bv1
 Variable "d1 =0", SetGet Bv1
 Variable "d2 =0", SetGet Bv1
 Variable "i +0", SetGet Bv1
Onput Section
輸出區