ID:143658
 
Code:
mob/NPC
Merlin
icon = 'npcs.dmi'
icon_state = "Merlin"
Click()
usr<< ("The war between Mario and Bowser continues! What is your job? Level up gain experince gather items and destroy the enemies! ALOT to do many bosses, ENJOY!")
Star_Villager
icon = 'npcs.dmi'
icon_state = "Star Villager"
Click()
usr<< ("Hello Welcome to Star Village! You are on your journey I would suggest getting together all of you itesm and then leave town! Good Luck!")



mob
Login()
usr<< "Welcome To Paper Mario The begining! Enjoy and please play by the rules!"
switch(alert("Who's side would you like to be on?","Please Choose!","Mario's side!","Bowser's side!"))//The alert to ask Which Side you want to be on
if("Bowser's side!")//If they selected that option
icon = 'mobs.dmi'//The icon file
icon_state = "Bowser M 1"//The icon state
Move(locate(50,50,1))
..()
if("Mario's side!")//If they selected this option!
icon = 'mobs.dmi'//The icon file
icon_state = "Mario M 1"//The Icon state..
Move(locate(50,50,1))
..()


Problem description:


Ok no errors... Its just when I log in and select my player it doesnt bring me to 50,50,1

I think it has somthing to do with the NPC code..
What is wrong?
Or is the problem elseware in my program?
Your Programming Problem:

Move(locate(50,50,1))


Actual way of doing it:

usr.Move(locate(50,50,1))


More common way of doing it:

usr.loc = locate(50,50,1)
In response to Ethan Strife
Ethan Strife wrote:
Your Programming Problem:

> Move(locate(50,50,1))
>

Actual way of doing it:

> usr.Move(locate(50,50,1))
>

More common way of doing it:

> usr.loc = locate(50,50,1)
>


Ok tahnk you the last one worked.. but it gave em one more problem.. I cant move now..
In response to Jazzyfizzle
Wierd.
In response to Ethan Strife
Yes very I dont know why.. All I did while I waiting for a response was added a few icons.. but thats about it..
But yes it wont let me move or anything..
Can I ask a question?

Alrigth well on my turf's code page I share the same Icon file just diffrent icon states is but would it screw it up if I made a density on one but the rest no?

example this is what i got..

turf
icon = 'turfs.dmi'
icon_state = "Grass 1"

turf
icon = 'turfs.dmi'
icon_state = "Stars 1"
density = 1

turf
icon = 'turfs.dmi'
icon_state = "Platform 1"

Could anything in there be screwing it up?
Or no?
In response to Jazzyfizzle
AH GOT IT!
I was right I had to put "Density = 0" at the end of my platform code. thank you for your help :)
In response to Jazzyfizzle
If your on a density = 1 you cannot walk into it, you should be able to walk off, but not into it. Doesn't matter what you do to your density.
In response to Jazzyfizzle
Jazzyfizzle wrote:
AH GOT IT!
I was right I had to put "Density = 0" at the end of my platform code. thank you for your help :)

WoW I am so confused now.. Now I can walk into my stars!
I am so confused I think im going to make all the icon files seperate now..

EDIT: Now I get ".rsc is locked up!" So IDK now :(
In response to Jazzyfizzle
No problem
In response to Jazzyfizzle
That's cause the density is 0 if you switch it to 1 than you can't walk through it. It has nothing to do with the icon files being in the same file.
In response to Ethan Strife
Ethan Strife wrote:
That's cause the density is 0 if you switch it to 1 than you can't walk through it. It has nothing to do with the icon files being in the same file.\

No I have the Platforms Density to 0 Not the Stars the stars says density = 1
In response to Jazzyfizzle
I'm really starting to think that Dream Maker doesn't like us. >.> So your saying you can walk through your stars and the density is at one?
In response to Ethan Strife
Ethan Strife wrote:
I'm really starting to think that Dream Maker doesn't like us. >.> So your saying you can walk through your stars and the density is at one?

Wow...I dont know how I did it but I think I do but I fixed it..
I had to go to the icon on the map edit thing. and I went to new instance and I saw it said desnity = 0 and I was like WTF lol and I switched it to one delted the old one and set the one out and now I CANT walk in the stars..
Im so sorry I didnt figure this out before and im sorry I wasted your time :/
But I REALLY REALLY thank you for your help I really really appreciate your time in effort in helping me..
In response to Jazzyfizzle
Jazzyfizzle wrote:
Yes very I dont know why.. All I did while I waiting for a response was added a few icons.. but thats about it..
But yes it wont let me move or anything..
Can I ask a question?

Alrigth well on my turf's code page I share the same Icon file just diffrent icon states is but would it screw it up if I made a density on one but the rest no?

example this is what i got..

> turf
> icon = 'turfs.dmi'
> icon_state = "Grass 1"
>
> turf
> icon = 'turfs.dmi'
> icon_state = "Stars 1"
> density = 1
>
> turf
> icon = 'turfs.dmi'
> icon_state = "Platform 1"
>

Could anything in there be screwing it up?
Or no?

You found a solution I know, but it's a bad one. Your problem is that this isn't how you make turfs, I think you want something more like:

turf
icon = 'turfs.dmi'
grass
icon_state = "Grass 1"
star
icon_state = "Stars 1"
density = 1
platform
icon_state = "Platform 1"