Results 1 to 4 of 4

Thread: Undefinied is not an object: trig waittill ("trigger"); ? Error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by ElEmEnT View Post
    undefined is not an object: (file 'maps/mp/jaildoor.gsc', line 31)
    trig waittill ("trigger");
    the console is telling you the error
    the only object in your function is the trigger
    this object seems to be undefined (CoD2 isnt able to find this)

    check your trigger for correct KVP (key/value pair, correct targetname)

    maybe you should add some debugging info:

    PHP Code:
            trig getEntname targetname );
            if( !
    isDefinedtrig ) )
                    return 
    iPrintLn"Trigger not defined!" ); 
    EDIT: Mau, zu lahm

  2. The Following 2 Users Say Thank You to serthy For This Useful Post:

    ElEmEnT (27th August 2013),kung foo man (27th August 2013)

Posting Permissions

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