[DEBUG] Set Object Team, CreateEntity
Posted: Wed Oct 28, 2009 8:38 am
I've got this set up where I have an MTT setup as a command post. It gets blown up, a new one spawns (CreateEntity) at a path node or some other Entity Matrix and is animated into place, subsequently it is set to team 2 (CIS).
Unfortunately I can't get the team to set. Originally the system worked with about 3 pre-placed MTTS but object spaces are at a premium on this map.
Here is (I believe - I'm rusty) the relevant segment of code, the lua file is attached.
P.S.
mighty Jawa Web Guru, add .lua to allowed extensions for max funtimes.
Now its talking about an attachment quota...xfire me for my LUA....
P.P.S.
Thanks
Unfortunately I can't get the team to set. Originally the system worked with about 3 pre-placed MTTS but object spaces are at a premium on this map.
Here is (I believe - I'm rusty) the relevant segment of code, the lua file is attached.
Hidden/Spoiler:
mighty Jawa Web Guru, add .lua to allowed extensions for max funtimes.
Now its talking about an attachment quota...xfire me for my LUA....
P.P.S.
Thanks