New house tool event - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: New house tool event (/Thread-New-house-tool-event) |
New house tool event - Sum - 02-12-2017 01:33 PM I'm making a new house placement tool , in the event i created it deducts the gold from the player when the house is created just fine but if another player is in the way or the terrain is to bumpy it still takes the gold and the house is not placed. i need it to just cancel out and not take the gold but i cannot figure it out for the life of me lol. thanks in advance! Code: [EVENTS e_houseplace] RE: New house tool event - Artyk - 02-13-2017 08:22 AM Reading in the wiki it fires when it is initially created, before it is placed in the world, maybe is there another trigger after this one? Otherwise you can add a timer and check after x seconds if the house exists then proceed with the payment RE: New house tool event - Sum - 02-13-2017 09:13 AM Thanks Artyk, i figured it out with a timerf shortly after my post . I appreciate the help! |