Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Warconn

Members
  • Posts

    568
  • Joined

  • Last visited

    Never

Everything posted by Warconn

  1. very nice man, will these be free to use
  2. @Zeno: > Well… > Your trigger is Call SetTimer("tmrTest " & index & ",0", 5000) > You can change the 5000 to any duration you would like, _in miliseconds_. It is set to 5 seconds right now. > > The tutorial says to use a scripted tile for when you enter a map. The tile would trigger a timer which would start the NPC casting the spell. Then, in the OnNPCDeath sub you add a Call RemoveTimer to stop the NPC from casting. The flaw with this is that only the first NPC on the map will cast. > > Alternatively, put it in Sub PlayerHit with a check for the NPC number to begin the casting when an NPC hits you. > > _Do not_ put it in scripted NPCs because then you can not attack them, and they will not directly attack you. > > The part of the code you posted goes into Sub tmrTest under Case 0. Everyone seems to use this sub for timers, which is frustrating since it assumes the script's user also happened to be using the exact same sub for their timers. You will have to add in the sub, and the title of a sub is case-sensitive is a timer is to be used. > > @Warconn: The original Main.txt does not include a Sub tmrTest. This sub was made by Baron to keep timers organized, and **is absolutely not a required sub to use timers**. He probably won't be able to find that sub in his main.txt because it might not be in his main.txt. I'm going to assume you're using Baron's main.txt. Don't forget that it's different. ahh ok, no im not using Barons, i just picked it up from a post i saw probably his though. I like to script my stuff more in source then SS because it relieves lagg on the server
  3. lol dude , i would try and put this in a scripted NPC, or try the on attacknpc sub. [EDIT] i read the thread you linked to and i found that you need to make your own timers… in your main.txt find ``` '|||||||||||||||||||||||||||| Sub TMRTEST(index, script) '|||||||||||||||||||||||||||| ``` change it to this ``` '|||||||||||||||||||||||||||| Sub TMRTEST(index, script) '|||||||||||||||||||||||||||| Dim Hp Dim Dmg Dim MapNum Dim X Dim Y Hp = GetPlayerHp(index) Dmg = 0 MapNum = GetPlayerMap(index) X = GetPlayerX(index) Y = GetPlayerY(index) Select Case script Case 0 Call playermsg(index, "You were hit by an opponent's spell.", 12) Dmg = Hp - 20 Call SpellAnim(1,MapNum,X,Y) Call SetPlayerHp(index, Dmg) Call SendHP(index) Case Else Call playermsg(index, "No timer found, please contact an admin to resolve this issue.", 12) Call Removetimer("tmrtest " &index & "," & script) End Select End Sub ``` then place this in a scripted tile. ``` Call SetTimer("tmrTest " & index & ",0", 5000) ``` the link you provided was pretty self explainitory, and @Sy|exus: > If I told you where to put it could I use it? its not his, so i am pretty sure you dont have to ask permission from him, you might from the creator though If I told you where to put it could I use it?
  4. yea, like in New Colony Online, i turned my "T" button into a hotkey, it will turn the player around, and i made my "E" perform an emote, that will all have to be done by source.
  5. thanks, click my sig to check it out
  6. @Zomada: > I have two quick questions, where do i edit my elements and how to i give charaters skills (ive made some just dont know how to give them) > Thanks, Zomada Newbie at EE 2.7 Yea, if by skills you mean spells, then just make an item with a spells atribute, then put the item on your map to pick up and learn. If you mean skills, you have to script it yea.
  7. hmm yea, thats the problem i am gonna run into, i have alot sourced on 2.7 and iwant to use 3.0 so i think i will just have to see what changes i have made, and copy them over to 3.0 manually ;(
  8. hey Dr.Nova why dont you try VB6 it would be much easier to just use like seperate forms for those wouldnt it?
  9. yea thanks, i got your action bar to work, it is good but one thing which i am working on, if there is no spell and you double click it, you get a RTE. Just thought to let you know
  10. i was finally able to test this out, and i double clicked the spell on the list, i get a RTE 53 saying that my spell.gif was not found. I am having very many problems lately lol {EDIT} i found the reason, i didnt have a spell in that slot lol works great thanks
  11. AHHH yea, i finally got it, i just deleted all my items(5) and spells and NPC and it worked… So if anyone else has this problem there you go the solution
  12. alright, my second recent change was my /b to broadcast, i was modifing that, but i just went through it, and no where does it seem to even have anything to do with spells/editors after that i dont remember, it was a couple days ago
  13. yea, i dont know, im not blaming you or anything, im just trying to get it solved. Good script though
  14. Hey guys, i have another major problem, but luckly all of my source changes are saved :) i have been trying to get GHosts action bar script to work, and after i got it all set, i tryed to make a spell, and everything stopped working, i got RTE 380\. i tryed to delete all the spells.dat, and replace them with fresh ones, but that still didnt work I copyed some old spells into the old one .dat files. This gave me another RTE on the same line of code. i got RTE 6, over flow when i try and edit it. when i try to edit the empty ones, i still get RTE 380. THis is the line where i get all the trouble with in both cases. frmSpellEditor.scrlSpellTime.Value = Spell(EditorIndex).SpellTime i tryed to replace the entire spell editor with a none messed with one, but that still didnt work. I dont no what else to do :sad: if you dont understand, let me know ill try and explain it some more. This has really set me back, but atleast my source is up to date saved. Thanks Warconn
  15. @Gh0st: > I don't know. I've never gotten that error… I don't think that's related to this code lol hmm alright, ill have to find out else where cause it is disrupting my whole project Thanks Though
  16. @Gh0st: > Your spells stopped working when you put in this code?… > > EDIT- I did just realize that I left part of the code out, I don't know why this would affect your spells though but it's worth a try. > If you go back up to the first post, the first snippet of code that I tell you to put under Option explicit, I forgot to add that the first time so I just put it in now. I guess try that out? yea, im back on my base comp now, and i added what you said, but it still didnt make any difference. i am getting RTE 380 on this like of code frmSpellEditor.scrlSpellTime.Value = Spell(EditorIndex).SpellTime it says Invaliad Property Value What does that mean. i got rid of all of my spells, and put in blanks in there place, but it still didnt fix it?
  17. yea, thats what i figured you ment lol, i still cant test as i am having major problems with my spell form, i get a 380 error everytime i try and open it, i can give you specifics when i get back to my original computer. It just stopped working when i implemented your snippet, so i thought i would post here :) Thanks
  18. yep, great code, but you didnt explain one thing, what is Image16.Picture what is image16 suppose to be so that i can change it, i have the rest changed, but i dont get this one. is it suppose to be like a clean one without any picture in it?
  19. thanks its my first tutorial hope i explained everything
  20. @Gh0st: > List of Known Bugs that I'll fix tomorrow : > - Clicking on a spell in your spell book that has no spell there causes a crash > - typing a number when talking in chat attempts to cast a spell nice job, i have edited the code for my liking if that is alright with you, still crediting you for the main code. also it is much easier to use the F's instead of numbers, just a thought though, thats what i am doing. Havent got to test it yet, just making some adjustments still. ill let you know how it turns out Warconn
  21. Warconn

    Action bar!

    sounds good, munroe was right, i am waiting anxiously to take a look at the code, as i have failed a couple times at this feature
×
×
  • Create New...