Home   Help Search Login Register  

Author Topic: Unit put Satchel.  (Read 400 times)

0 Members and 2 Guests are viewing this topic.

Olphy

  • Guest
Unit put Satchel.
« on: 25 Apr 2004, 15:25:12 »
Hi guys.

This is quite a simple script I know but for some reason I can't get it to work.

I am trying to get a unit to place a Satchel Charge, so I write:

unitname fire[''Put'', ''Pipebomb'']

But for some reason I keep getting an invalid number in expression message at the top of my screen. What am I doing wrong?

Cheers.

Olphy...

Olphy

  • Guest
Re:Unit put Satchel.
« Reply #1 on: 25 Apr 2004, 15:51:06 »
Sorry boys its ok I seemed to have cracked it. Sorry for wasting your time... :P

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Unit put Satchel.
« Reply #2 on: 25 Apr 2004, 15:51:38 »
In your code you have used 2 single quotes (') instead of double quotes (").

Use Shift-2 to get the double quotes.......at least it is on my keyboard.


Planck
I know a little about a lot, and a lot about a little.