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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -