Off here with the [url=http://www.e-six-sigma.net]http://e-six-sigma.net/[/url] basics, we have the object itself, audiohandler. This object should always be defined under the object tree for another object, such as a mob or client. To initialize the audio handler, pass the mob into the new() proc as such:
On-screen text |
|
Want text slowly typed on the player's screen? This is what you need. (Uses 2 examples: maptext and output) [More] |
To download this demo for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Kidpaddle45.Onscreen##version=1 Emulator users, in the BYOND pager go to File | Open Location and enter this URL:byond://Kidpaddle45.Onscreen##version=1 |
Babblu3: (Apr 22 2015, 11:01 pm)
Flame Guardian: (Mar 8 2015, 6:35 am)
I'm not longer experiencing run time errors with this code.
proc/Text(mob/M,var/Text="") Flame Guardian: (Mar 6 2015, 9:49 am)
I've been experiencing runtime errors upon having a mob logout() during the creation or deletion of screen text.
This is the code I implemented to reduce the runtime errors from infinite to 4-5 and therefor preventing dream daemon from crashing. Still, the abundance of if(M.client) and return's are clients are unnecessary. proc/Text(mob/M,var/Text="") |
Copyright © 2024 BYOND Software.
All rights reserved.
Also, I'd be curious to see how to make the text appear top to bottom and make the following lines occur under the previous.