@timer question - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: @timer question (/Thread-timer-question) |
@timer question - Rattlehead - 07-17-2013 11:53 PM i have looked everywhere to see, but i cant find anything what i need to know is if there is some way to see how many seconds are left in the @timer on an item so i can display @dclick of the item. Code: [ITEMDEF i_my_item] i want to display the seconds left until @timer fires where i have <time> RE: @timer question - darksun84 - 07-18-2013 12:05 AM Doesn't <timer> shows how many seconds are left ?_? I don't understand RE: @timer question - Rattlehead - 07-18-2013 12:16 AM oh really? damn i just made that up, i didnt know lol ok, next question about my timer, say i wanted to do a countdown in a sysmessage firing every second without resetting the timer ,how would u suggest i managed that? RE: @timer question - Alaric - 07-18-2013 12:58 AM Code: [function f_countdown] RE: @timer question - Rattlehead - 07-18-2013 02:39 AM yeah i didnt something similar but havent tested it yet, its pretty close to that, actually urs is alot better than mine lol, but i was hoping it worked, if yours does i will assume for now mine does as well i am having a another issue tho seems that using nested areadefs have limitations, for instance if i use a function to send messages to all clients in the parent area, anyone in the child areas do not receive the message, altho imo they are in the parent area still, so should receive the message, however they do not RE: @timer question - Alaric - 07-18-2013 04:43 AM Bigger area = UID(1) I think, when you send something to bigger area, you send it everybody in region with UID(1). The smaller ones are ignored, because they have their own UIDs. If I understand it well, the smaller areas just inherit properties/attributes/(whatever) but they delete a certain space in bigger area and create areas with their own UIDs and from this moment bigger area doesn't exist there, where smaller areas are defined. That countdown is all yours, hope it works.. RE: @timer question - xwerswoodx - 07-19-2013 05:44 PM Code: [ITEMDEF i_my_item] |