Forum

> > CS2D > Scripts > "carrying" script
Forums overviewCS2D overview Scripts overviewLog in to reply

English "carrying" script

2 replies
To the start Previous 1 Next To the start

old "carrying" script

madness1547
User Off Offline

Quote
hey guys... i need some BIG help!
i'm doing some L4D & L4D2 maps, and, as you read the title, i need a "carrying" script.
an very simple situation: there's a god awful horde breaking through the garage's gate and you need to get the fuel,fill the car,and GTFO the city. and that's the point: i need a script that the player will carry a fuel tank (gfx) until he reach the car, and will be ready to get out the city.

if someone can help me, and if that's POSSIBLE (duh...)
please, send me an PM with the script, i really need your help!

old Re: "carrying" script

Alistaire
User Off Offline

Quote
The "|fruit| Classes" server uses such a script for bodies. Maybe ask on their forums/pm them or whatever?

old Re: "carrying" script

archmage
User Off Offline

Quote
You will need tables.

Untested.
More >


To add a new fuel just call add_fuel.
1
2
-- x and y are in pixels
add_fuel(x, y,image("gfx/fuel.bmp", x, y, 0, 0))
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview