What was the code?

Error message

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).
AuthorTopic: What was the code?
Apprentice
Member # 5542
Profile #0
Right, this might be a very basic question, but I really have no idea what the code for calling a target's number is. Let's say I want to erase whichever creature is hit by another creature. It would be something like this, right?

beginstate 3; // attacking
if (target_ok() == FALSE)
set_state(START_STATE);
do_attack();
erase_char(what_would_I_put_here?);
break;
Posts: 30 | Registered: Thursday, February 24 2005 08:00
Off With Their Heads
Member # 4045
Profile Homepage #1
get_target()

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00