+ Reply to Thread
Results 1 to 3 of 3

Thread: creating some intelligent being with VBscript?

  1. #1
    Newbie Shade is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    netherlands
    Age
    18
    Posts
    7

    creating some intelligent being with VBscript?

    ok, im kinda new to VBscript, and i mostly use the web to find the codes i need, but i couldnt find anything on something like creating some kind of automatic behaviour, like barking and such, or get it to respond to you (i.e it wags its tail when you pet it)
    hope anyone can help me
    (please move this to the correct place)
    Last edited by Shade; 09-14-2007 at 04:32 AM. Reason: wrong forum

  2. #2
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,885
    Blog Entries
    25
    Most, if not all, artificial intelligence [ AI ] is done by programming logic. Essentially a computer knows two states zero or one - one being true, zero being false.

    For an object to respond to interactions, the programmer needs to anticipate all actions that could possible be performed on that object.

    In your example, you would need two methods - one that determine if the object [dog] is being pet, and another to move the tail. The "is being pet" method will return a boolean value [either true or false] then you can use that value to create the logic:

    Code:
    if ( isBeingPet() ) {
    wagTale();
    }
    So once you know how to make a tail wag and listen to events, making the AI is just a bunch of logic.

  3. #3
    Newbie Shade is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    netherlands
    Age
    18
    Posts
    7
    Quote Originally Posted by Sidewinder View Post
    Most, if not all, artificial intelligence [ AI ] is done by programming logic. Essentially a computer knows two states zero or one - one being true, zero being false.

    For an object to respond to interactions, the programmer needs to anticipate all actions that could possible be performed on that object.

    In your example, you would need two methods - one that determine if the object [dog] is being pet, and another to move the tail. The "is being pet" method will return a boolean value [either true or false] then you can use that value to create the logic:

    Code:
    if ( isBeingPet() ) {
    wagTale();
    }
    So once you know how to make a tail wag and listen to events, making the AI is just a bunch of logic.
    ok, thanks, ill try that
    Last edited by Shade; 09-16-2007 at 08:49 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Creating an OS
    By NeedHelp in forum C and C++
    Replies: 9
    Last Post: 10-10-2007, 12:41 AM
  2. Creating an analog clock with ActionScript
    By AfTriX in forum Tutorials
    Replies: 2
    Last Post: 01-07-2007, 02:19 AM
  3. Creating a backup script
    By NeedHelp in forum General Programming
    Replies: 3
    Last Post: 09-07-2006, 05:14 AM
  4. Creating Tables
    By leon in forum Database & Database Programming
    Replies: 2
    Last Post: 06-12-2006, 09:02 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts