Wikia

Touhou Wiki

Touhou Danmakufu: Child Scripts

7,297pages on
this wiki
Talk0

Child Enemy Scripts

The child enemy scripts are defined by script_enemy instead of script_enemy_main.

script_enemy (name) {
    (routines)
}

The child enemies are summoned by CreateEnemyFromScript with the (name).

CreateEnemyFromFile can summon child enemies from file. In this case, the enemy script in the file has to be defined by script_enemy_main.


Bullet Scripts

The bullet scripts are very slow. The object bullets are recommended.


The bullet scripts can define bullets which have complex motion as the enemy scripts. The bullet scripts are defined by script_shot instead of script_enemy.

script_shot (name) {
    (routines)
}

The controlled bullets are fired by CreateShotFromScript with the (name).


Around Wikia's network

Random Wiki