Originally posted by VFe
View Post
Originally posted by Saffron
View Post

Originally posted by Hinato
View Post
Originally posted by Hinato
View Post
Edit: I looked again at your screenshot and found the reason. Modifying edge costs on a tile does nothing after the game has started. The edge cost variables on tiles are put into arrays at event begin play and afterwards they are never called. To change the edge costs of the door at runtime you have to get the EdgeCosts array from the Grid Manager, get the struct at the array index that equals the index variable and set that struct to whatever new values you want. Check out the Add Viewport Terrain To Arrays function for examples of how to do this.
Originally posted by Hinato
View Post
Comment