Problem description: I'm trying to figure out how to change a characters icon_state depending on an obj or mobs position. So if enemy mob is east of usr change icon_state to blank and if mob is west of usr change to fit the position |
Oct 24 2012, 1:41 pm
|
|
I assume you mean if you're to the east of a obj it'll look different than if you're to the west, which I'm unsure of how exact to do this with BYOND. Otherwise, you could use get_dir if you're just meaning to have two objs change icon stats depending on their location apart from eachother(ie: two mobs face eachother as they move around).
|