Home   Help Search Login Register  

Author Topic: strange error message  (Read 1028 times)

0 Members and 1 Guest are viewing this topic.

Hertog Jan

  • Guest
strange error message
« on: 15 Apr 2005, 14:24:41 »
Hey,

I have a camera script and when I run it the camera is somewhere above the sea (i did not put him there) and a message is displayed saying:

'_ppos = getpos_this|#|:, error type array, expected object

What does this mean??
I've copied the whole script from another script I mad awhile ago, and that one is working.

In my scrip my objects are an empty UAZ and a soldier, and the names are correctly in the script...

Plz help me out...

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:strange error message
« Reply #1 on: 15 Apr 2005, 20:20:34 »
a space is needed between the getpos and _this. that may be it...

if that doesn't work, copy/paste your script, or attach it to your next post.

« Last Edit: 15 Apr 2005, 20:21:24 by bedges »

Hertog Jan

  • Guest
Re:strange error message
« Reply #2 on: 15 Apr 2005, 20:27:02 »
it's fixed now but I have another qeustion...

In my cutscne I want a black op who is in prone position, take his binocular while he remains prone...
What's the command for this? I only know the "standToBinocStand" but he isn't allowed 2 stand up.

thnx

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:strange error message
« Reply #3 on: 15 Apr 2005, 20:32:10 »
loon_name switchmove "LyingToBinocLying"

see attached ;)
« Last Edit: 15 Apr 2005, 20:33:14 by bedges »

Hertog Jan

  • Guest
Re:strange error message
« Reply #4 on: 16 Apr 2005, 21:04:00 »
thank you, and for the list, this will be usefull