Basically Ive made a turf to play a certain midi file stored in the games folder. The music plays, only problem is that the turf is acting as though density is set to 1 wen I have set it to 0. This is what it looks like:
turf
grass2
icon='grass.dmi'
icon_state = "2"
density = 0
Enter()
usr << sound("crono_town.mid",1)
ID:176032
Feb 20 2003, 10:09 am
|
|
In response to Siientx
|
|
<font size = 7> Duh!</font> learn how to use font tags.....
|
In response to JimmyWimmy
|
|
Study the word typo 500 times.
Siientx |
In response to Siientx
|
|
Try putting
return..()
And spell font properly. <font size=50>Duh!</font> |
In response to Hazman
|
|
Return ..() would make it do nothing. Just ..() is fine.
Siientx |
In response to Siientx
|
|
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm....... OH YEAH! I forgot about that =D Goes to show I have the memory of a Goldfish
|
Aside from not using usr in Enter(),Entered(),Exit(),Exited(), you should note that Enter() is called when you try to enter a turf. You should use Entered() since that is called after you succesfully enter a turf.
turf |
For starters: Duh!
Second. Never use usr in Enter/Entered/Exit/Exited.
<font size = 55>Duh!</font>
turf
grass2
icon='grass.dmi'
icon_state = "2"
density = 0
Entered(mob/M)
if(ismob(M))
M << sound("crono_town.mid",1)
..()
Siientx