SDK DVV Add-On: Event Comment Supplemental - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: SDK DVV Add-On: Event Comment Supplemental (/thread-3823.html) |
SDK DVV Add-On: Event Comment Supplemental - DerVVulfman - 12-03-2011 SDK DVV Add-On:
Event Comment Supplemental Version: 1.2 Introduction Dear lord! DerVVulfman wrote an SDK script??? Based on material garnered from the RMXP SDK, this script can retrieve a list of comments from an event's page and obtain desired information from a list of comments. Because it is enclosed within its own SDK module block and doesn't refer to any other SDK methods or classes, it does not require the SDK to function. It can be used by itself. Script The Script Instructions Got plenty in the script's comments that scripters should understand. If you're not a scripter... this isn't really for you. Thanks To Zeriab, who requested a measure to get only the first batch of comments after reaching the first non-comment command. Compatibility and Installation While contained within a SDK module, this system does not necessarily need the SDK. But it should be compatible with nearly every version of the RMXP SDK and can be used without. RE: SDK DVV Add-On: Event Comment Supplemental - Zeriab - 12-03-2011 Can you add a method that retrieves the first chunk of comments. I.e all comment blocks until the first non-comment event command. *hugs* RE: SDK DVV Add-On: Event Comment Supplemental - DerVVulfman - 12-05-2011
BUMP
to Version 1.1 Hehehe... it didn't take long, did it? Okay, Zeriab. You can now use the same SDK.event_comment_list statement to check on just the first block of comments, separated by the first non-comment that occurs. You can even make sure that it has a 'trigger' like before, so even IF it stops at the first non-comment, the block still needs the trigger text.
list = SDK.event_comment_list(event, trigger, true)
RE: SDK DVV Add-On: Event Comment Supplemental - Zeriab - 12-08-2011 Awesome, thanks :D A great feature when considering performance for big events. *hugs* RE: SDK DVV Add-On: Event Comment Supplemental - NightOwl - 12-09-2011 Better than you know, Zeriab. It's me, Dervv... just in case. I redid my version of MrMo's ABS with this, and now I have 'default' values for the evented battlers. I can leave out things in the events, have the comments in whatever order and not so ridgid... whatever. This makes the ABS's setup of enemies work nicely. RE: SDK DVV Add-On: Event Comment Supplemental - DerVVulfman - 09-25-2016
BUMP
to Version 1.2 Unexpected, I found a glitch with the script. If the retrieved data had a space within, such as saying "Level3 Fighter", it would merely display the text up to the first space. Thus, only the phrase of "Level3" would be retrieved. This had only just been discovered. And now... fixed. |