Jump to content
Sign in to follow this  
LaserGuidedBunnyRabbit

Rating in vehicles

Recommended Posts

Is there anyway to credit the player in the vehicle? Like, if you're the driver, and you run an enemy over, is there any way to credit ALL the unit(s) in the vehicle.

Share this post


Link to post
Share on other sites

What do you mean credit? Like have a hint saying "well done"?

Or to give the player an extra mag if he runs one over?

Well as far as i know you cant make it know if you killed him with the car. You can only be creditted if the enemy is killed.

Heres how:

in a triggers condition field put this: (not (alive enemyname))

In the activation field: player addmagazine "M16"

And if the enemy is killed it will add a magazine to your inventory. Thats all i can think of

Share this post


Link to post
Share on other sites

If you mean units' ratings, perhaps you can script that one..

If player is in some particular vehicle, and he gets points,

then all in that vehicle( gunner and commander ) get points

too..

Some commands that could be useful in this:

player in vehicle true if player is in "vehicle"

gunner vehicle   returns the gunner of the vehicle(get driver and commander similarly )

rating unit         returns the "unit"'s rating

unit addrating points adds "points" to "unit"'s rating

Hope you got the idea..

Share this post


Link to post
Share on other sites

probably in the conditions put the player in the vehicle and the unit dead.

Share this post


Link to post
Share on other sites

Hey yeah! Maybe something like this:

condition field: player in vehicle AND (not (alive enemyname))

Activation Field: hint "Well Done Soldier"

So now it will only be activated if the player is in the car and the enemy is run over with the player in the car. Another Example. Say the players name is Dude, and the Cars name is Jeep1, and the enemies name is Enemy1. Try this:

Condition Field: Dude in Jeep1 AND (not (Alive Enemy1))

Activation Field: Dude AddRating 1000

Try That

Share this post


Link to post
Share on other sites

The original question was, how to credit all players in the

vehicle for driver's kill.

At least that is how I received it..

EDIT:

Or, all units in the vehicle...

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Your a fucking moron. After all this figuring out you change your mind.<span id='postcolor'>

Hey, calm down man. If you would have checked the topic's title,

you would have noticed that it is about ratings, not about

some easter eggs.

If you want people to help you out with your problems,

then stop calling them "fucking moron"..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×