ID:166163
![]() Sep 12 2006, 2:26 pm
|
|
--built? I have two icons, onewall and twowall.
|
Xx Dark Wizard xX wrote:
mob That won't work. 1. You're not supposed to control it. 2. That would change YOUR icon. |
Compact View | Expanded View
Home Foreword Preface Chapter 1. Meet the Dream Maker Chapter 2. Navigating the Code Tree Chapter 3. Objects in the Tree Chapter 4. Verbs Chapter 5. Variables Chapter 6. Procs Chapter 7. Predefined Object Procs Chapter 8. The world Data Object Chapter 9. The Client Data Object Chapter 10. Lists Chapter 11. User Input/Output Chapter 12. Savefiles Chapter 13. Realtime Events Chapter 14. The Map Chapter 15. Text Manipulation Chapter 16. Mathematics Chapter 17. Server and System Control Chapter 18. User-Defined Data Objects Chapter 19. Managing Code in Large Projects Appendix 1. DM Compared to Other Languages Appendix 2. Pre-Defined Object Tree Appendix 3. Supported HTML Tags Appendix 4. DM Script Appendix 5. Addendum for BYOND 3.0 Glossary Yes, I'm very enthusiastic to start searching every one of those for my code snippet. |
Squeegy wrote:
Yes, I'm very enthusiastic to start searching every one of those for my code snippet. [link] As for your statement, you've completely mistaken the concept of programming. You don't pull in code snippets from as many resources as possible. You learn how to program, and you make your own snippets for yourself. The DM Guide will teach you how to program. I'm less enthusiastic to help someone who's looking for people to spoon-feed him code than you are to read that. However, I am very enthusiastic to try and get you to learn how to program properly. Hiead |
Hiead wrote:
Squeegy wrote: I don't see what talking to furniture has to do with what I'm asking about. Anyway, I'm gonna try something out. |
Squeegy wrote:
Hiead wrote: Now we're in the same boat. I don't see how the post at [link] has anything to do with the one at [link], which is the post you replied to. The point of that was to point out how you should make some effort to reply to the posts you are responding to. Anyway, I'm gonna try something out. I surely hope this 'something' is to try and learn the programming language, the correct way. Hiead |
Hiead wrote:
Squeegy wrote: I was replying to both your posts. Anyway, I'm gonna try something out. Sorry. This 'something' is going to be snippiting. |
You'll want to modify the New() function, which gets called when something is created. In this New() function, you'll want to assign the icon to a randomly selected icon file. Look up the pick() proc in the DM Reference(can be found on this site or by pressing F1 in Dream Maker).
Hiead