Share Pastebin
Guest
Public paste!

nev7n

By: a guest | Jan 31st, 2010 | Syntax: None | Size: 0.74 KB | Hits: 234 | Expires: Never
Copy text to clipboard
  1. // Declaring the class and extend the SequenceAction functionality
  2. class SeqAct_NTConvoOver extends SequenceAction;
  3.  
  4. // Declaring variable, the name of npc
  5. var() bool isOver;
  6.  
  7. // Here we set the default values of the variables
  8. defaultproperties
  9. {
  10.   // This is the name that will apear in the Kismet Editor
  11.    ObjName="Is Convo Over"
  12.  
  13.   // This is the name of the event that will be triggered when this action is called
  14.    HandlerName="IsConvoOver"
  15.  
  16.    // Here we set the default value to the item
  17.    isOver = false;
  18.  
  19.    // There we create slots in the Kismet Editor, linking the slots with this class variables
  20.    VariableLinks(1)=(ExpectedType=class'SeqVar_Bool', LinkDesc="Convo Over Result", bWriteable=true, PropertyName=isOver)
  21. }