Page 1 of 1
Question - Lock out both teams from ship
Posted: Tue Jan 25, 2011 8:26 pm
by Master Jay
Hey, I'm getting back in modding again, and I have questions. I'm trying to lock some ships on the air. So I know that all I need to add the the vehicles, ships, etc.. one code which is; ObjectTemplate.teamOnVehicle #. Now, I want to lock the ship for both teams, is it possible to put this on the spawner; ObjectTemplate.teamOnVehicle 0 or 3? Please let me know

Posted: Tue Jan 25, 2011 8:48 pm
by freddy
you have to spawn it as team 3 object
ex
Code: Select all
ObjectTemplate.setObjectTemplate 3 b17
i think the teamOnVehicle is bolean witch means 0=off or 1 (or higher) =on
Re: Question
Posted: Tue Jan 25, 2011 10:05 pm
by fo0k
can you give this thread a "name"...

thanks!
Re: Question
Posted: Wed Jan 26, 2011 12:09 am
by Swaffy
To lck them in the air, just add "ObjectTemplate.holdObject 1" to the spawn template.
And please give this thread a proper topic name, not just "Question." Thank you.
Re: Question - Lock out both teams from ship
Posted: Wed Jan 26, 2011 1:19 am
by Apache Thunder
I've edited the thread title for him. Now it should be more relevant to his question.
To the original poster, try to avoid posting "generic" thread titles like "question" or "help". It would make it easier for me to skim through and read topics I would have the best chance of answering.