CS2D
Scripts Fast Building Upgrade Fast Building Upgrade
8 Antworten can someone help me to make a fast upgrade like have turret 1 then it not upgrade 1% but 50% can or when left click on it can select to what turret can it make 1 2 or 3
HELP! @2Fast4You: no like that i need like when build turret 1 then that button you holding to upgrade it upgrades 1% but i need script like it upgrades 10% maybe it's possible, if a dual turret needs more time to upgrade than a single turret then there must be a way to do a faster upgrade thing... Well Rhox understands me that good but yeah mybe its possible! Yates hat geschrieben
Not possible.
Read it. Actually, Yates, it is sort of possible. However there is no hook for it. You have to add a hook to "attack1", check if the player's weapon is a spanner, figure out which tile he is pointing at, then checking building type ( this will determine if it is possible or not, couldn't find anything about checking buildings on a tile in info.txt so I assume it isn't possible ) and finally 'upgrade' the building if the building is upgradable. @DannyDeth: mybe some how like that attack1 if weapon==74 then turret 10% 20% 30% 40% 50% 60% 70% 80% 90% turret II then turret II 10% 20% 30% 40% 50% 60% 70% 80% 90% 95% turret III done... @Yates: it's possible!
Help! Answer!