alllies and axis both setting and defuseing bombs

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
LtNeil
Sergeant
Posts: 54
Joined: Sun Nov 14, 2004 8:46 pm
Location: southend on sea
Contact:

alllies and axis both setting and defuseing bombs

Post by LtNeil »

Is it possible to make a objective in breakthrough where the allies have got to blow up one thing and the axis have got to blow up another and what ever team blows up there thing first wins?

Ive been trying to get it to work but no luck :cry:

If anyone knows if it can be done could they give me a bit of a helping hand with the scripting!?

i can get the allied bomb bit working (allies setting and axis defusing)but i just can't figure out how to get the axis to set and allies to defuse(the allies can set both bombs)not a lot of good.
My candle burns at both ends it will not last the night but oh my foes and oh my friends it gives a lovely light.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

script

Post by tltrude »

It doesn't sound two hard, but you will probably need to make a custom obj_dm.scr script.
Tom Trude,

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

in an objective map the obj_dm.scr script sets level.objects_destroyed (I think) one higher so I would say you mimic that so you have level.axis_objects_destroyed and level.allies_objects_destroyed then of course have a way to set a bomb as axis or allies .
Image
Post Reply