Question - Lock out both teams from ship

Ask questions, discuss ideas, get answers
Post Reply
Master Jay
Posts: 139
Joined: Mon Mar 29, 2010 10:28 pm

Question - Lock out both teams from ship

Post 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 :D
Image
Im Watching You... When You Sleep!
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post 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
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Question

Post by fo0k »

can you give this thread a "name"... :) thanks!
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Question

Post 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.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Apache Thunder
Posts: 1213
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Question - Lock out both teams from ship

Post 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.
ImageImageImage
I have cameras in your head!
Post Reply