|
rhombur Beginner
Joined: 13 Oct 2005 Posts: 24 Location: Illinois
|
Posted: Sun Jun 21, 2009 6:36 pm
#if in rooms on map |
i've noticed when i make an #if trigger in the room script that it doesn't work. any reason why this is the case?
|
|
_________________ Niax Rhasu |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jun 22, 2009 2:48 am |
This works
Quote: |
#trigger {blah blah} {#if (whatever) {something} {something else}}
|
This doesn't
Quote: |
#if (whatever) {something} {something else}
|
In ZMud, every script you make in the mapper has to be enclosed in some sort of settings-related command (#trigger, #alias, etc). It will not automatically convert anything for you, which is what happens with CMud. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
rhombur Beginner
Joined: 13 Oct 2005 Posts: 24 Location: Illinois
|
Posted: Mon Jun 22, 2009 4:57 am |
ah, that would explain much then. thank you.
|
|
_________________ Niax Rhasu |
|
|
|
rhombur Beginner
Joined: 13 Oct 2005 Posts: 24 Location: Illinois
|
Posted: Mon Jun 22, 2009 5:19 pm |
I had actually just forgotten the last '}' in my script. i was aware that #if's don't work without the #TR command. finally got that room script running though. :D (again anyway haha)
|
|
_________________ Niax Rhasu |
|
|
|
|
|