Author Topic: new as of engine 2.92: GPDL **SHAZAM** expanded  (Read 216 times)

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9837
new as of engine 2.92: GPDL **SHAZAM** expanded
« on: May 26, 2017, 04:10:22 PM »
With version 2.92 of the DC engine, Paul has greatly expanded the user-friendly nature of the GPDL **SHAZAM** for use in designs via the Talk Statement event.

#1   No need to compile your talk.txt to talk.bin if you don't want to.
#2   Multiple talk files can be used...pretty much as many as you want.
#3   Functions can be written in the text box of the Text Statement so that no talk file is needed.

The use of **SHAZAM** has changed a little bit to accomodate these changes.

How to use:
If using only talk.bin or talk.txt; nothing has changed - **SHAZAM**xyz()
If using more than one, the talk file must begin "talk", but the addenda can be what you want, for example, "talk001"; the addenda is added to **SHAZAM** so in this case you would use **SHAZAM001**
   -if your talk file is talkaa.txt, your call in the event is **SHAZAMaa**
   -if your talk file is talktilyoudrop.bin, your call in the event is **SHAZAMtilyoudrop**
If using the function in the event, the **SHAZAM** call must not have a corresponding file or else it will look to the file
   example:    **SHAZAM**Test()
            $PUBLIC $FUNC Test(){$SAY("Defined in text event itself");} Test;
            
Note: to compile your talk.txt to talk.bin, you need GPDLcomp4)6.exe available on Pault's site.

Offline Milos Gulan

  • Hero Member
  • *****
  • Posts: 3154
Re: new as of engine 2.92: GPDL **SHAZAM** expanded
« Reply #1 on: May 27, 2017, 03:15:53 AM »
Thank You. I can't say I know much about it but I wish I could learn to use those functions.

Offline SilentThief

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 891
Re: new as of engine 2.92: GPDL **SHAZAM** expanded
« Reply #2 on: May 28, 2017, 12:46:07 AM »
This is awesome! I have been wanting to work with this for a while now. This along with the tutorial you gave us is great!

**SHAZAMtilyoudrop**

best example name I've seen in a while

ST

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 65
Re: new as of engine 2.92: GPDL **SHAZAM** expanded
« Reply #3 on: June 13, 2017, 11:41:46 PM »
is 2.92 the latest version?  if so, where can I get it?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2235

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9837
Re: new as of engine 2.92: GPDL **SHAZAM** expanded
« Reply #5 on: June 14, 2017, 12:28:58 PM »
Thanks, Paul. I will start putting your link in my updatess.


Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9837
Re: new as of engine 2.92: GPDL **SHAZAM** expanded
« Reply #7 on: August 02, 2017, 12:36:54 PM »
Thank you, Paul.