Hi, I’m new to unreal and I’m trying to do a magic system where I can spawn an actor from a datatable, have it loaded and then release it when fired. Example, if in game you press the num 1 key which is binded to the fireball vfx, it will load the fireball in a staff or gun or something, and only fire/spawn the fireball when the player clicks with the left mouse click.
Hi. Welcome to the Unreal Engine forums. I see you’re new here. You posted this question in the UDK section, but I have a feeling you meant to post in a different section. UDK is an ancient build of Unreal that only a couple people still use. I know how to do what you’re asking in UDK, but you might get the answer you’re really looking for if you ask in a section focused on UE4.
1 Like
Create a boolean like “Canfire”,on key input 1 spawn actor"fireball"->set canfire to true->on left mouse shoot the fireball-> set canfire to false.