casting - Newbie "Cast To" Object in UE4 -
i have blueprint spawning zombies parameter 'numofzombies". in zombie's blueprint when health = 0 want -1 numofzombies.
i use cast bp_spawnpoint numofzombies parameter don't know set object.
when cast character attach "get player character" reffering other blueprints seems me bit confusing.
you have set object might spawnpoint. when use 'cast something' node want check whether object of type want.
so, if want keep numofzombies parameter have create in zombie blueprint variable of type of class "bp_spawnpoint". keep variable , cast bp_spawnpoint, , parameter.
Comments
Post a Comment