Home   Help Search Login Register  

Author Topic: wich way around  (Read 622 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
wich way around
« on: 22 Jun 2005, 20:32:07 »
okay ive tried this thing both ways around and it still wont work its mean to check if the player = _unit ive tied both of these ways

Code: [Select]
? player = _unit : hint "you are _unit"
? _unit = player : hint "you are _unit"

? player != _unit : hint "ha your not _unit"
? _unit != player : hint "Ha your still no the player and this still hasnt worked"

any suggestions ?
thanks alot

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:wich way around
« Reply #1 on: 22 Jun 2005, 20:40:15 »
did you bother to check the comref?

Offline Peter_Bullet

  • Members
  • *
  • "The evil that men do lives on and on"
Re:wich way around
« Reply #2 on: 22 Jun 2005, 20:49:49 »
it's == to check equality.

(= is to set equal.)  8)

Offline 456820

  • Contributing Member
  • **
Re:wich way around
« Reply #3 on: 23 Jun 2005, 16:25:47 »
okay thanks but what about the _unit and player wich do i put first ? or does it not matter

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:wich way around
« Reply #4 on: 23 Jun 2005, 16:49:31 »
six and half a dozen.

is ten the number of oranges in my hand, or is the number of oranges in my hand ten?

or do i just have big hands?