Sonolus Wiki

Entity Input

Entity Input block is used by entities to pass input information back to Sonolus.

Identifier

const EntityInputId = 4005

Values

IndexInitial ValueDescription
00Judgment of the entity: 0 = Miss, 1 = Perfect, 2 = Great, 3 = Good
10Accuracy of the entity
2-1Assigned bucket of the entity: -1 = None, 0 = 0th bucket, 1= 1st bucket, 2= 2nd bucket, etc
30Bucket value of the entity

Access

CallbackReadWrite
preprocess
spawnOrder
shouldSpawn
initialize
updateSequential
touch
updateParallel
terminate

Remarks

When an entity is despawned, values of Entity Input block will be used by Sonolus to process judgment, combo, life, score, etc.

For entities spawned by Spawn function call, it does not have any data and cannot access this block.