There is nothing hard to replace the item id, anyway, less triggers..
Forum
CS2D Maps/Editor Ammoin/AmmoAmmoin/Ammo
22 repliesThere is nothing hard to replace the item id, anyway, less triggers..
This way all you have to do is add "script_setammo 30 0" in the Trigger name field of the entity to change its ammo count.
And because I'm lazy I won't give you the script, I bet someone else has more free time on their hands atm so they might give it.
-------
To autorun this script you can even put it in your maps folder and rename it to *mapname*.lua
Alistaire has written
And because I'm lazy I won't give you the script
Hey hey, do not spend your time. I didn't even ask.
/hey wait, did you already spend it to teach me. Thanks
Alistaire has written
You could make an actual Lua script
Not all the ppls know lua. They should learn it(or they can just come to us.de and take the help they need)
//also ik about mapname.lua thingy