Code:
Problem description:No code needed but i have created a cave a big icon and i coded it in as a turf i was wondering if thats bad considering its a cave idk if its a obj or Cave. when a mob enters a cave it teleports you but my real problem is i have to goto a certain part of the icon of the cave to get teleported when the opening of the cave is not there. any solutions to fixing this, ik it has to do with big icons searched on forum but couldnt find anything
Jul 27 2014, 8:59 am
|
|
I might be wrong, but I'm pretty sure you need to declare that atom's bound_x and bound_y for it to handle it properly. Right now it considers it a 32x32 tile and that's why if you go out of range of it, it vanishes.
|
sorry im a nub but how do i do that currently i did
turf |
In response to YoungJR1232
|
|
Oops! Sorry, I meant to say bound_width and bound_height
|
In response to Crazah
|
|
Crazah wrote:
Oops! Sorry, I meant to say bound_width and bound_heightand how would declare thoes |
DO NOT USE USR IN ENTER() AND OTHER RELATED MOVEMENT PROCEDURES
There are few instances where usr is defined, often when a specific client action is invoved (ex: Click(), cling a verb, Login() and Stat()s IIRC). For movement procedures, these are called indirectly thus there is a risk that usr may not be defined to who you expect and can cause weird "bugs" in your system that will take time to track down. I remember it took me days to figure out that the reason people were dying rsndomly in a game I was programming because of usr. |
In response to YoungJR1232
|
|
YoungJR1232 wrote:
if i do i get : src.loc: cannot change constant value Pavement_2 |