Talk:Modding/Cutscene Commands/@comment-33878774-20180419232816

I need help with this script. I want certain students to only spawn when the player presses a key (It's in Yan.txt). I want to use that key for multiple things, so I want the script to spawn them in and then end.

I used this code below but when I press K it doesn't work. Does anyone know what I did wrong, and/or how to make it do what I want?

Activate:Student_35:(Naomi Ikeda):false Activate:Student_36:(Takara Oshiro):false Activate:Student_35 (Naomi Ikeda):true Activate:Student_36 (Takara Oshiro):true Activate:Student_37 (Emi Kimura):false Activate:Student_38 (Kotone Mori):false Activate:Student_39 (Suzu Mori):false Activate:Student_40 (Hikari Shimizu):false Activate:Student_41 (Satomi Takahashi):false

SubtitleSize:1:1:1 SubtitleText:Press K to spawn in the rivals!

label:RivalStart if:Key:K jmp:RivalStart jmp:RivalSpawn

label:RivalSpawn SubtitleClean Activate:Student_35 (Naomi Ikeda):true Activate:Student_36 (Takara Oshiro):true Activate:Student_37 (Emi Kimura):true Activate:Student_38 (Kotone Mori):true Activate:Student_39 (Suzu Mori):true Activate:Student_40 (Hikari Shimizu):true Activate:Student_41 (Satomi Takahashi):true