Guitar Freak
_LüA_n☺b_
EDIT:
This thread is solved. Thank to darkhaos and Old Greg for helping me out on the make and remake of the script.
Here's the link to the final script in case anyone is interested:
http://otland.net/f132/old-greg-chris77s-scripting-services-37296/index9.html#post378146
<-------Solved-------->
Im wondering if it is possible to make a script that works similar/same to "utevo res" (because this one works by a function, not a script)?
If you dont understand, Ill make an example.
Lets say I want a spell named Whatever that works when I say the words whatever "monster, and it can summon a monster ONLY under certain conditions, like being drunk or by having x amount of items on you, etc. I can make the conditions part, but I need a script to put them into, a normal spell script.
So by saying for example the words 'whatever "dog' it would check if you're drunk and if you are it will summon the dog, if you're not it wont work.
As I said, I can make the conditions part, dont worry about that, what I need is the spell itself. A working "summonmonster.lua" that works the same as utevo res.
This is what "utevo res" looks like in spells.xml:
See? Its a function called summonMonster, but no scripts or anything to work with, thats why I have no idea how to even start a script like that.
So, anyone knows how to transcribe the spell to a SCRIPT that works the same?
Ill +Rep of course. Even if you can at least point my in the right direction.
Cheers.
PS: Im using TFS 0.3.2.
This thread is solved. Thank to darkhaos and Old Greg for helping me out on the make and remake of the script.
Here's the link to the final script in case anyone is interested:
http://otland.net/f132/old-greg-chris77s-scripting-services-37296/index9.html#post378146
<-------Solved-------->
Im wondering if it is possible to make a script that works similar/same to "utevo res" (because this one works by a function, not a script)?
If you dont understand, Ill make an example.
Lets say I want a spell named Whatever that works when I say the words whatever "monster, and it can summon a monster ONLY under certain conditions, like being drunk or by having x amount of items on you, etc. I can make the conditions part, but I need a script to put them into, a normal spell script.
So by saying for example the words 'whatever "dog' it would check if you're drunk and if you are it will summon the dog, if you're not it wont work.
As I said, I can make the conditions part, dont worry about that, what I need is the spell itself. A working "summonmonster.lua" that works the same as utevo res.
This is what "utevo res" looks like in spells.xml:
Lua:
<instant name="Summon Creature" words="utevo res" lvl="25" params="1" exhaustion="2000" needlearn="0" event="function" value="summonMonster">
<vocation name="Sorcerer"/>
<vocation name="Druid"/>
<vocation name="Master Sorcerer"/>
<vocation name="Elder Druid"/>
</instant>
See? Its a function called summonMonster, but no scripts or anything to work with, thats why I have no idea how to even start a script like that.
So, anyone knows how to transcribe the spell to a SCRIPT that works the same?
Ill +Rep of course. Even if you can at least point my in the right direction.
Cheers.
PS: Im using TFS 0.3.2.
Last edited: