ID:267642
Aug 7 2003, 6:59 pm
|
|
I'm having a bit of trouble. You see, I started making a map of the inside of an item shop. And I set the Z to 2, as opposed to 1, which is the map of the town.... And, well, if I try to go to compile and run, I start in the item shop.. Even though I thought I would still be starting on the map of the town and not the map of the item shop because I have it so I start on 21,21,1. Can someone help me, please? Thanks.
|
I just posted this on the topic: [link]
|
In response to Foomer
|
|
lol.. Yes.. Yes you did. Oddly enough, that's my topic too. But, uh, yeah, I fixed that problem, and I apologize for that. But, I got a real problem now. A code problem, but I'm putting it here because it feels like a newbie question.
turf/portal icon = 'portal.dmi' Entered() usr.loc = locate(x,y,z) You see, I got a few problems with this code. One being where do I put this code? Under turf? Before or after the list of icons? And right now it's at the very bottom, and I keep getting indentation problems, and I've been playing with it, but it's not doing anything.. Can anyone help me with this problem? Thanks.. |
In response to Rockin' Eli
|
|
It looks like its spaced not tabed...though, im not sure....um, also change x,y,z to an actual x,y,z location..you might've done this..but yeah..there you go.
~Kros |
In response to K'ros Trikare
|
|
Well, the reason it gets spaced and not tabbed is because when I copy it in, it gets all fudged up. And yeah, I did actually put in the right coordinates. But, I was wondering if someone could take this code:
turf/doors icon = 'doors.dmi' Entered() src.loc = locate(9,1,1) And put it in a.. Like, correct way. I'm not positive as to how I could fit this. I sometimes get this error: Final Fantasy Forsaken.dm:134: Inconsistent indentation. Sometimes I get this: Final Fantasy Forsaken.dm:135:error:src.loc:undefined var Final Fantasy Forsaken.dm:134:error:Entered :undefined proc And sometimes I'll get this: Final Fantasy Forsaken.dm:134:error::empty type name (indentation error?) Final Fantasy Forsaken.dm:135:error:src.loc:cannot change constant value Really, the main error, is 145, which is the Entered() line. So, thanks for any help. |
In response to Rockin' Eli
|
|
Look at the arguments for Entered(). src is the turf, usr is wrong, the argument is right. Don't forget to do an ismob() check.
|
~K'ros