Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
written Saturday, September 9 2006 16:36ProfileHomepage#28
Yes, I'm sure. I ran this call dozens of times, with an error as the result to each. I also ran this once with a variable set specifically to 20, which was a living creature. It still returned an error.
Since the call DOES work with a function, one insane, yet simple work-around is to use the get_ran call in place of the variable like this: dist_to_char(get_ran(1,x,x)); Where x equals the variable. This produces the same result as writing the variable itself. Without the error, of course. :D
Though it probably doesn't help that the script I'm using it in is failing to work. But that is a problem with the targeting system.
written Saturday, September 9 2006 13:46ProfileHomepage#1
If I remember right, Seli is in Medab proper, wandering somewhere near the entrance to the town hall. I remember, because he is human.
-------------------- I tried to think of something witty to put here.
Needless to say, I failed.Posts: 2686 |
Registered: Friday, September 8 2006 07:00
written Saturday, September 9 2006 13:15ProfileHomepage#2
You need to win three fights in the arena. Make sure to talk to the arena ogre after the third fight.
EDIT: Sorry Stareye, I didn't notice your post. I have checked the script for that zone, and it's three wins, not two.
written Saturday, September 9 2006 11:57ProfileHomepage#0
I'm having some trouble with getting a target in a new creature script I've designed. No matter how I try, the only way I can even get the script to register that an enemy is nearby is by attacking the creature who has the script. Then, even though it has a target, it won't go to state 3 (attacking state), or engage the target. I can't see what could be causing the problem, as an error never appears, and everything should be functioning normally. I think the problem is in either the start state or the attacking state. Any ideas? :confused:
EDIT: Modified one of the conditionals, because it caused the width of the post to get mildly out of control. Also added my signature. :)
written Saturday, September 9 2006 07:04ProfileHomepage#25
If you inflict acid or poison damage with the damage_char call, it bypasses the corresponding resistances. In other words, if you hit a creature with 100 acid damage with the above call, the creature will take 100 damage regardless of the creatures acid resistance.
Also, there is a glitch with the call dist_to_char. If you use a variable for which_char, the whole script breaks down.