PDA

View Full Version : Crew?



Albus
02-07-2007, 10:21
This wondeful command has one principal use.

Do you like in yours mods, detect if one o some soldiers( ally or enemy ) enter inside a vehicle ?

Well , this is your command.

some examples :

{trigger "vehiculo_capt"
{condition
{type 1}
{term 1 "crew"
{"vehicle" "163"}
{"units"
{"actors/mids" 1}
}
}
{term 2 "crew"
{"vehicle" "163"}
{"units"
{"actors/mids" 2}
}
}
{term 3 "crew"
{"vehicle" "163"}
{"units"
{"actors/mids" 3}
}
}
{term 4 "crew"
{"vehicle" "163"}
{"units"
{"actors/mids" 4}
}
}
}
{actions
{"task"
{name "mis3"}
{state complete}
}
{"message"
{text "mission/b_12/vehiculo"}
}
{"event"
{event 3}
{mode set}
{delay 8}
}
}
}

In this trigger if any of the soldiers with mids 1,2,3 or 4 enter inside vehicle with mid 163 then is activate.

Other example :

{trigger "vehiculo_capt"
{condition
{term 1 "crew"
{"vehicle" "163"}
{"units"
{"actors/mids" 1 2 3 4}
}
}
}
{actions
{"task"
{name "mis3"}
{state complete}
}
{"message"
{text "mission/b_12/vehiculo"}
}
{"event"
{event 3}
{mode set}
{delay 8}
}
}
}

In this trigger vehicle mid 163 is a tank, and if all crew member mids 1,2,3 and 4 are inside tank then trigger is activated.

There are too much examples, and you can combine with other TERMS in one trigger.
Last example, imagine a Locomotive, we create a trigger sending a man to board ( machinist ), well we can use command CREW to detect this, and when machinist is board , train go to waypoint "X" . :hurray:

:typing: :insane:

Questions ? --------> DMS forum 8)

raw
17-05-2008, 00:13
I agree with Albus it adds great effect to see a soldier enter a vehicle and use it.
the following sequence of images demonstrates this.
http://i302.photobucket.com/albums/nn90/raw1970/1.jpg
http://i302.photobucket.com/albums/nn90/raw1970/2.jpg
http://i302.photobucket.com/albums/nn90/raw1970/3.jpg
http://i302.photobucket.com/albums/nn90/raw1970/4.jpg
http://i302.photobucket.com/albums/nn90/raw1970/5.jpg
http://i302.photobucket.com/albums/nn90/raw1970/6.jpg
http://i302.photobucket.com/albums/nn90/raw1970/7.jpg
http://i302.photobucket.com/albums/nn90/raw1970/8.jpg
http://i302.photobucket.com/albums/nn90/raw1970/9.jpg

Raw

Latdonine
17-05-2008, 08:19
Albus I have used that command already on some missions and I can say it kicks a heck out of my soldiers :lol:

Albus
17-05-2008, 13:35
:realbig: good job :realbig:

This post has over 10 months. ;)

Latdonine
17-05-2008, 16:15
:realbig: good job :realbig:

This post has over 10 months. ;)
never actually spotted this topic before :huh:

raw
17-05-2008, 21:32
:realbig: good job :realbig:

This post has over 10 months. ;)

Yeah i know but i'm only here from jan and spent a lot of time going through all 3 pages of modding topics.

raw