Timer for items
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Timer for items
Do we have a timer for items? Want to bounce this off of you Jabantiz. Lets say I want an item to cast a heal, that is pretty easy. What about if i only want them to be able to use it every so often? I see Spell Timers and Spawn timers but not really anything for items.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Timer for items
For a bauble I believe we do, everything else it doesn't though, at least not that I am aware of. I am not 100% sure but I believe the only items that can be used to cast a spell in EQ2 are babules but for customization purposes we should probably have a way to set the timers in lua no matter what type of item it is.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Timer for items
So you use the spell timer for a bauble? This item is indeed a bauble
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Timer for items
Yes it should use the spell timer on the bauble.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Timer for items
I definitely cannot get it to work, I set a timer and the callback function never gets implemented. Just in case it is not reporting back properly I tried throwing a simple boolean in there and the value never changed, I am positive the function never gets passed through. Maybe an alternative?
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Timer for items
A bauble should cast the spell that is linked to it so that spell would need to be set up with a spell script and everything. Are you setting up a call back in the item script? I am not sure a bauble will even trigger the use function.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Timer for items
Actually it will 
I was trying to do all of this using the "use" function.
I was trying to do all of this using the "use" function.
Resident Dirty Hippy
Who is online
Users browsing this forum: No registered users and 0 guests