Closed Thread
Results 1 to 3 of 3

Thread: creating some intelligent being with VBscript?

  1. #1
    Shade is offline Newbie
    Join Date
    Sep 2007
    Location
    netherlands
    Posts
    7
    Rep Power
    0

    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 02:32 AM. Reason: wrong forum

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    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.

  4. #3
    Shade is offline Newbie
    Join Date
    Sep 2007
    Location
    netherlands
    Posts
    7
    Rep Power
    0
    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 06:49 AM.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Is there such thing as an Artificial Intelligent SEO ???
    By changoo in forum Search Engine Optimization
    Replies: 1
    Last Post: 11-04-2010, 04:06 AM
  2. VBSCRIPT - Windows Script Host
    By Shubhanshu in forum Visual Basic Tutorials
    Replies: 1
    Last Post: 09-20-2010, 04:23 AM
  3. Intelligent Student in Math
    By kresh7 in forum The Lounge
    Replies: 21
    Last Post: 06-29-2010, 09:11 PM
  4. Replies: 9
    Last Post: 05-24-2010, 01:24 AM
  5. Help with ASP page querying Database using SQL and using VBScript/JavaScript
    By Salrandin in forum Database & Database Programming
    Replies: 0
    Last Post: 08-08-2008, 07:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

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