Forum Jump :

Author Message


Posts: 9
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2010-12-22 22:32        
     
Could someone help me with the function CreateUnit? I've been doing what others say to, but they just don't seem to work. I think it is the part of making and selecting the group for the AI unit to be in. And several different websites show different styles of doing it, and I can't get any of them to work.

I've been working on a Survival type of gamemode, and I had a basic one that used triggers and mancounts to send in new waves (the AI was not being spawned, but was simply hidden and waiting for the next trigger.) Working on a more advanced version now. Could someone tell me how I'm supposed to spawn units in script?

-Edit
Sorry, didn't see edititing forum until I was browsing...

This post was edited by Foxhound (2011-01-02 22:34, ago)


Author Message

Dead3yez  

I am evil


Posts: 3115
Rank:


Level: Former Staff

Country: en
Location: North Yorkshire
Occupation: dead3yez
Age: 24
In-game name: dead3yez

 
#2 Posted at 2010-12-23 06:26        
     
http://community.bistudio.com/wiki/createUnit This?


Advertisement


Author Message


Posts: 9
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2010-12-23 17:04        
     
That is one of the sites that I used, and couldn't get it work. Not sure what I'm doing wrong there.


Author Message


Posts: 19049
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#4 Posted at 2010-12-23 18:28        
     
Post the code you used here so we can see where the error is to help you solve it ;-)

Visit my family webshop desteigerhoutshop.nl.