sammaster9
Member
I'm getting an odd 'Variable not set before reading it' error in the PreCreate event for an object. See attached image for details. Months ago, I changed the variable definition for scoreImage from 'spr_t1_spider_run' to 'spr_t2_rider_mine_projectile'. However, it appears as if the value is still 'spr_t1_spider_run' in the preCreate event. You can see this in the error. The file in question 'spr_t1_spider_run' was deleted months ago, and no results are returned when searching for it with ctrl+shift+f.
I do not know how to fix this. I've tried updating the scoreImage definition again, as well as running a Build > Clean.
To my knowledge, the preCreate event is not something I can edit. Does anyone know how to solve this?
Any insight would be greatly appreciated. Thank you!
EDIT: To clarify, this error occurs as soon as the obj_t2_rider_mine object is spawned into the room.
Windows. IDE v2.3.7.603 Runtime v2.3.7.474
I do not know how to fix this. I've tried updating the scoreImage definition again, as well as running a Build > Clean.
To my knowledge, the preCreate event is not something I can edit. Does anyone know how to solve this?
Any insight would be greatly appreciated. Thank you!
EDIT: To clarify, this error occurs as soon as the obj_t2_rider_mine object is spawned into the room.
Windows. IDE v2.3.7.603 Runtime v2.3.7.474
Last edited: