Ascuas Funkeln
Rakkedo Game
- Joined
- Apr 14, 2013
- Messages
- 549
- Solutions
- 33
- Reaction score
- 309
- Location
- Poland
- GitHub
- AscuasFunkeln
Hello, i need this -"doCreatureExecuteTalkAction" in TFS 1.2, any ideas? xD
Very funny, u have 1.2? U have this function in your engine?yes use doCreatureExecuteTalkAction
I migrate from 0.3.6 to 1.2...why do you need it?
what exactly are you trying to get it to execute?
chances are you can just execute the chunk of code inside of the talkaction instead of wasting time making a function to execute an actual talkaction
As you see, in 0.3.6 i have onUse thisi don't think forcing a talkaction would help with this at all
you can use modalwindows in talkactions and rewrite the script and use this as a base: AutoLoot System for tfs 1.x
use this script, check for the storages and check the ids of the items
write it to a modalwindow (easier if you use modalwindows with this lib: [TFS 1.2] Modal Window Helper Lib)
then with your item you make an action script to give the player a storage for the autoloot item id and it pops up whenever you use talkaction cause the storage gets saved
doCreatureExecuteTalkAction(cid, "!autoloot add,Upgrade Core(High)", true)
i was talking about rewriting it for modalwindowsAs you see, in 0.3.6 i have onUse this
And it work for me perfect, simple and fast... And now i must rewrite all scripts, etc... Alot extra work cuz 1.2 missed one function xDCode:doCreatureExecuteTalkAction(cid, "!autoloot add,Upgrade Core(High)", true)
This Modal Lib what you post, is more "WTF?" thats previous i use from Evan [How-to] Modal Windowsi was talking about rewriting it for modalwindows
and for that you can just copy the code that adds the item to the autoloot list and copy it to the action script and execute it to add whatever you want
if you still dont understand post your script and i can show you