Skip to main content
GameDev.net gamedev.net
🔒 Locked 🎯 Unreal

Struct returning Zero

Started by GameDev.net Jun 23, 2019 at 11:24 AM 0 replies 1.6k views
Original Post
GameDev.net
GameDev.net

Hello all i have ran into an issue where i have some ai running around on the map and when i click on them it gives me some details about them. I have used a struct to keep everything together then i have a parent character that fills in the info when the character spawns in with the event construct. Say one of them is the age i use a random int in range between 21 and 65 and set an int with that and use that int to set the struct but sometime it comes up as zero even though i have set the range has anyone got an idea on why this might be ?

cheers

Read more

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.