tag |
Problem description:
Everything works fine to set it and stuff, but when i put it next to someone and i explode it, i get the damage instead of the mob(s) in the exploding tag area
ID:263331
Oct 11 2006, 8:13 pm
|
||
Code:
Problem description: Everything works fine to set it and stuff, but when i put it next to someone and i explode it, i get the damage instead of the mob(s) in the exploding tag area | ||
#1 Oct 11 2006, 8:32 pm
|
|
Because you have it in view(3), thats you and 3 tiles away from you in all directions.
| |
how can i make this for all persons in that view(3) cuz now its mob in view, so im exploding to when i explode one.
Its supposed to explode in view(3) of that exploding tag. | |
#3 Oct 12 2006, 7:35 am
|
||
Ultimate Productions wrote:
Code: T was being deleted before u checked its oview o.o | ||
WOTS coding >_>...
why dont you just recode it? The WOTS coding is crapply coded(yea, im saying that my old coding is garbage >_>) | |
The exploding tag code snippet which he showed. But anyways, we are digressing and let's not start another stupid flaming topic/post >_>
- GhostAnime | |
Well, what you could do is create an invisble mob on the same location as the exploding tag and use that mobs view. Just be sure to delete the mob before you deal any damage.
PS: Criticize are you want, I'm just kinda...saying stuff. It's 1:45am leave meh alone =p | |
#10 Oct 14 2006, 7:23 am
|
|
There are various things wrong with this.
1.) You're deleting T too soon, so the T argument in view(3,T) shouldn't be valid. 2.) It'd be ever s slightly more efficient to calculate the damage before you get into either of those loops, since it simply depends on the user executing the verb. 3.) Don't se [atom] to output an atom's name, instead use [atom.name]. The reason being is that BYOND will go insane if it comes across a key with the first letter lowercase and treat it as an improper noun. 4.) That technically shouldn't even compile, as you have multiple infinite loops. You cnanot remove the verb from within the verb. 5.) You only need to remove the verb once. 6.) You don't use 'new' on a verb to remove it from usr.verbs. | |