Khaos
Master
Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11
|
RE: putting cooldown on scrolls
Findid SEEMS cleaner (it really isn't. It runs a loop), but I prefer to point to the object instead of having sphere check every layer in a forloop to find that ID.
Ctag could be useful, but you'd be storing a lot of tags and running a lot of timers as well. Though it might not seem intensive, though unlikely, if a server had 1,000 players all casting and using scrolls or whatever, the delays would pile up. If he wants to go that route, then sure, I can script up a quick example. But, it is not ideal.
FINDID and all that process loops through all objects on a character in all layers. This is more processing than needed when you can just point to the item itself.
Cleaner programming Less resource intensive.
(This post was last modified: 02-18-2016 08:55 AM by Khaos.)
|
|
02-18-2016 08:52 AM |
|
|