Professional Web Applications Themes

Script error: Three parameters expected etc - Macromedia Director 3D

I currently use director MX 10.1 and Havok and max 5.1. I am trying to do the tutorial found here: http://www.deansdirectortutorials.com/3D/Havok/ specifically the one using the "imported Havok" from max 5 found at bottom. I can do the top inserted havok tut just fine using his w3d and hke. I can even load his completed version of the bottom "Imported Havok" and that works fine. However when i try to recreate his Imported havok project everytime i try to play it i get an error: Script error: Three parameters expected pHavok.initialize(pSprite.member) -2147219485 I have compared my working script code lines ...

  1. #1

    Default Script error: Three parameters expected etc

    I currently use director MX 10.1 and Havok and max 5.1. I am trying to do the
    tutorial found here:
    http://www.deansdirectortutorials.com/3D/Havok/
    specifically the one using the "imported Havok" from max 5 found at bottom.
    I can do the top inserted havok tut just fine using his w3d and hke.
    I can even load his completed version of the bottom "Imported Havok" and that
    works fine.
    However when i try to recreate his Imported havok project everytime i try to
    play it i get an error:
    Script error: Three parameters expected
    pHavok.initialize(pSprite.member)
    -2147219485

    I have compared my working script code lines to his completed version of the
    Import havok tutorial and they look the same. However i still get this error.
    Any ideas on whats going on?
    You could easily see if it works for you and let me know if it does. It should
    only take 10 minutes to look and see if its me or him if you like.
    I tryed my own import havok test to and got same error message when trying to
    play it.
    thanks

    Dr Guest

  2. #2

    Default Re: Script error: Three parameters expected etc

    Dr Vangeldor wrote:
     

    Hi,

    The above is my tutorial. Is the problem when you create your own hke file? Since
    the creation of the hke part of the tutorial requires a very old version of max,
    it's probably not the reccommended way of doing things. Plus, Havok has been
    replaced by Aegia in Director 11. Anyway, I'd suggest you look at physics
    properties as you defined in Max (steps 7 to 14) to make sure you've done it
    correctly for your file. Then, make sure you have the latest Havok, which can be
    accessed from a link on the page.

    regards
    Dean

    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au
    email: edu.au

    Dean Guest

  3. #3

    Default Re: Script error: Three parameters expected etc

    [q]Originally posted by: Dr Vangeldor
    I currently use director MX 10.1 and Havok and max 5.1.

    However when i try to recreate his Imported havok project everytime i try to
    play it i get an error:
    Script error: Three parameters expected
    pHavok.initialize(pSprite.member)
    -2147219485thanks[/q]

    Just study this example:
    http://necromanthus.com/Games/ShockWave/tutorials/FPS_Havok.html
    Pay attention to:

    pHavok=member("havok")
    pHavok.shutdown()
    pHavok.initialize(pMember,10,1)

    cheers



    necromanthus Guest

Similar Threads

  1. Too few parameters. Expected 3.
    By PostScript in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: March 30th, 03:23 PM
  2. too few parameters expected 1
    By ash_log in forum Coldfusion Database Access
    Replies: 4
    Last Post: October 4th, 04:32 AM
  3. Too few parameters. Expected 2.
    By sviolet in forum Coldfusion - Advanced Techniques
    Replies: 5
    Last Post: July 26th, 11:24 PM
  4. Too few parameters expected 1
    By Firebird in forum Microsoft Access
    Replies: 4
    Last Post: August 22nd, 01:11 AM
  5. Too few parameters. Expected error
    By THE BIG MAN in forum ASP
    Replies: 3
    Last Post: July 6th, 04:52 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139