![]() |
Auto Line break making sign NPC
Okay basically this NPC will take a string, tokenize that string and automattically put in line breaks when one line get's too large, here it is:
NPC Code:And believe it or not that whole long string up there get's reworked into a sign without problems.// NPC made by Lady Midnight |
Question
About how long does it take to parse the information?
as in the delay between the event and the sign |
Re: Question
Quote:
|
nice. Though it could mess up with playerendsreading on some things. Optimally you'd build a sign from the ground up...but that takes some doing, and you'd have to use ascii codes (trust me, you can do it with a letter set string-array, but it'll give all caps since strequals isn't case sensitive) but nice job anyway
|
| All times are GMT +2. The time now is 05:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.