Gah. Not enough takes.

elmstfreddie

The Finglonger
Reaction score
203
JASS:
set Locust[CountUnitsInGroup(Locusts)] = CreateUnit(GetOwningPlayer(Owner),LocustId(),GetUnitX(Owner),GetUnitY(Owner))

Locust is a local unit array, Locusts is a local group. LocustId is a constant function that takes nothing and returns a unit ID, and Owner is a local unit...
The error I get is...
Not Enough Arguments Passed to Function

Which makes no sense because I keep checking all the functions I used and I covered all the takes...
I gotta go I will be back and give you any extra information you need in a few hours (going swimming).

KK thanks.
 

substance

New Member
Reaction score
34
Code:
CreateUnit takes player id, integer unitid, real x, real y, [B]real face[/B] returns unit
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top