Download

Boolean for BP

Hi,
I want “if Switch on Int = 0” get active “K keyEvent”.

How i do this?

Thanks

http://i.hizliresim.com/1v546j.jpg

Create Custom event that does the same as the Key Event. Add a branch -> if (Current Song = 0) TRUE { Call custom Event } FALSE { other stuff }. But I recommend you do the integer switch inside a Sound Cue to play the audio and use the Int switch here only to call events. You can use the K key to check if there is an overlap -> if true then play a random sound in Sound Cue and get the current song and Call the event based on the integer.