Home   Help Search Login Register  

Author Topic: Strange Error Message!  (Read 545 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
Strange Error Message!
« on: 08 Aug 2003, 01:52:07 »
While I was trying my mission out I received this error message on top of the screen:

'_oldammo != _unit Ammo _Weapon|#|': Error ammo: Type Bool, expected Object

Can please someone help me to resolve this?

Also is there any way to avoid tanks or units from a distance looking white?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Strange Error Message!
« Reply #1 on: 08 Aug 2003, 02:02:46 »
You're trying to do too many things in one line of code and the game doesn't understand what you want it to do.     Brackets might do the trick.

_oldammo != (_unit ammo _weapon)

but it will only work if _oldammo is a number.    You may need quotes around "_weapon".

If it still doesn't work tell us a bit more about what is going one.   Is this in a trigger, script or where?   What are you trying to do?

Solving your second problem is easy - just wear rose tinted spectacles. ::)

Plenty of reviewed ArmA missions for you to play

Kaliyuga

  • Guest
Re:Strange Error Message!
« Reply #2 on: 08 Aug 2003, 04:00:18 »
Also is there any way to avoid tanks or units from a distance looking white?

Use better addons in your mission  :P  

I'm gonna take a wild guess and say you're getting that from the  I44 mod stuff?

I've never seen that bug with any of the official units, only addons ;)