Changeset 233


Ignore:
Timestamp:
08/14/09 04:15:43 (10 years ago)
Author:
bretzel_parpg
Message:

Added an example to the docs. Added a SCRIPTNAME function

Location:
trunk/PARPG/tools/Writing Editor
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/tools/Writing Editor/docs/examples/example.dialog

    r231 r233  
     1SCRIPTNAME "Test Script" # SCRIPTNAME [script_name] 
     2 
    13/* Multline comments like C++ */ 
    24 
  • trunk/PARPG/tools/Writing Editor/docs/html/scripting.html

    r230 r233  
    1616SAY is used to have a character say something</p> 
    1717<p>Example Usage:<br/>Henry SAY "hello"</p> 
     18 
     19<h4>SCRIPTNAME<br/>----------</h4> 
     20<p>SCRIPTNAME [script_name]<br/> 
     21SCRIPTNAME is used to define the script's name</p> 
     22<p>Example Usage:<br/>SCRIPTNAME "Script Name"</P> 
    1823 
    1924<h4>NPC<br/>----------</h4> 
  • trunk/PARPG/tools/Writing Editor/scripts/syntaxHighlight.py

    r230 r233  
    4343        multiLineCommentFormat.setForeground(QtGui.QColor("magenta")) 
    4444             
    45         cmds = ["npc", "NPC", "pc", "PC", "section", "SECTION", 
    46                 "endsection", "ENDSECTION", "callsection", "CALLSECTION", 
    47                 "option", "OPTION", "endoption", "ENDOPTION", "playsound", 
    48                 "PLAYSOUND", "say", "SAY", "attack", "ATTACK", "return", 
    49                 "RETURN","IF", "if", "ELIF", "elif", "ELSE", "else", 
     45        cmds = ["npc", "NPC", "pc", "PC", "section", "SECTION", "SCRIPTNAME", 
     46                "scriptname", "endsection", "ENDSECTION", "callsection",  
     47                "CALLSECTION", "option", "OPTION", "endoption", "ENDOPTION",  
     48                "playsound", "PLAYSOUND", "say", "SAY", "attack", "ATTACK",  
     49                "return", "RETURN","IF", "if", "ELIF", "elif", "ELSE", "else", 
    5050                "#", "/\*", "\""] 
    5151 
Note: See TracChangeset for help on using the changeset viewer.