tutudragon3 said:what is better profit? sorc garden or law running?
if enemy is using range {
//code for prayer
} else if enemy is using magic {
//code for prayer
} else if enemy is using melee {
//code for prayer
} else {
//disable prayer.
}
Automatic Coding said:What's a good way to find the user's attack base to protect VIA prayer? (E.G.
Code:if enemy is using range { //code for prayer } else if enemy is using magic { //code for prayer } else if enemy is using melee { //code for prayer } else { //disable prayer. }
I just need the mage/reange/melee thing, thanks.
Chewbaka said:Automatic Coding said:What's a good way to find the user's attack base to protect VIA prayer? (E.G.
Code:if enemy is using range { //code for prayer } else if enemy is using magic { //code for prayer } else if enemy is using melee { //code for prayer } else { //disable prayer. }
I just need the mage/reange/melee thing, thanks.
There is no detection on what style they are using but I guess if you REALLY wanted to do it, you can get the animation of the other player, like barrage, burst for mage, then for range, just do a bow and c'bow animation, and the rest would be melee.
Automatic Coding said:Chewbaka said:Automatic Coding said:What's a good way to find the user's attack base to protect VIA prayer? (E.G.
Code:if enemy is using range { //code for prayer } else if enemy is using magic { //code for prayer } else if enemy is using melee { //code for prayer } else { //disable prayer. }
I just need the mage/reange/melee thing, thanks.
There is no detection on what style they are using but I guess if you REALLY wanted to do it, you can get the animation of the other player, like barrage, burst for mage, then for range, just do a bow and c'bow animation, and the rest would be melee.
That's what I don't want to do, so many weapon types, so many magic types
I hate it when other people don't spend their time making hooks for me.
Chewbaka said:Automatic Coding said:Chewbaka said:There is no detection on what style they are using but I guess if you REALLY wanted to do it, you can get the animation of the other player, like barrage, burst for mage, then for range, just do a bow and c'bow animation, and the rest would be melee.
That's what I don't want to do, so many weapon types, so many magic types
I hate it when other people don't spend their time making hooks for me.
Well, if you think about, ancients only would have like 4 different animations and range would only have like 3 mains ones.
Automatic Coding said:Chewbaka said:Automatic Coding said:That's what I don't want to do, so many weapon types, so many magic types
I hate it when other people don't spend their time making hooks for me.
Well, if you think about, ancients only would have like 4 different animations and range would only have like 3 mains ones.
Yeah, main ones. I'm talking about every spell/range in the game
At-least 30 spells and 10 range... that's going to take me like a whole 2 hours!
Screw that, I'll just not have prayer.
Chewbaka said:Automatic Coding said:Chewbaka said:Well, if you think about, ancients only would have like 4 different animations and range would only have like 3 mains ones.
Yeah, main ones. I'm talking about every spell/range in the game
At-least 30 spells and 10 range... that's going to take me like a whole 2 hours!
Screw that, I'll just not have prayer.
May I ask what you are doing?![]()