FSM – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
OK, I know this is highly preliminary and full of assumption but I am hoping to spur some more testing or release of hard facts from BIS regarding this file structure. Heck, I am going off second hand info to get this. --[[User:CrashDome|CrashDome]] 08:06, 4 December 2006 (CET)
OK, I know this is highly preliminary and full of assumption but I am hoping to spur some more testing or release of hard facts from BIS regarding this file structure. Heck, I am going off second hand info to get this. --[[User:CrashDome|CrashDome]] 08:06, 4 December 2006 (CET)
Hello Crashdome. From here : http://kronzky.info/misc/animals-config.zip , it looks like, at least in .cpp, the condition/actions may not be a simple script, but takes argument :
  class MoveCompleted {
    priority = 1.000000;
    to = "SetRandom3";
    class Condition {
      function = "moveCompleted";
      parameters = {};
      threshold = 0;
    };
    class Action {
      function = "nothing";
      parameters = {};
      thresholds = {};
    };
  };
probably referencing a function defined somwhere else in the cpp. - [[User:Whisper|Whisper]] 18:30, 6 December 2006 (CET)

Revision as of 18:30, 6 December 2006

OK, I know this is highly preliminary and full of assumption but I am hoping to spur some more testing or release of hard facts from BIS regarding this file structure. Heck, I am going off second hand info to get this. --CrashDome 08:06, 4 December 2006 (CET)

Hello Crashdome. From here : http://kronzky.info/misc/animals-config.zip , it looks like, at least in .cpp, the condition/actions may not be a simple script, but takes argument :

  class MoveCompleted {
   priority = 1.000000;
   to = "SetRandom3";
   class Condition {
     function = "moveCompleted";
     parameters = {};
     threshold = 0;
   };
   class Action {
     function = "nothing";
     parameters = {};
     thresholds = {};
   };
  };

probably referencing a function defined somwhere else in the cpp. - Whisper 18:30, 6 December 2006 (CET)