Is there a way to delete characters?

Started by VII Toast, Sat 23/10/2004 19:57:15

Previous topic - Next topic

VII Toast

(Original question dealt with characters and .cha files.)

When my character has or had an item, how do I make sure he can't keep getting it back again? Like you can only get it once.
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Edwin Xie

#1
No, you can't delete characters and you export characters to .cha file.
Moving at superhigh speed getting to the planet called Earth. But it is boxed in white......thing.....

VII Toast

To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Goot

Huh? Edwin Xie's answer didn't make much sence to me. Maybe I don't understand the question. If the item is an object, you can turn the object off. Otherwise, set a variable for whether they've gotten it or not. You can also use the character[CHAR].inv[INVNUMBER] variable to see how many 'copies' of the item the player has. If you don't want them having 2 of the same thing at once, in repeatedly execute (always):

int use;


use=1;
while(use<x){//replace x with number of items
if(character[GetPlayerCharacter()].inv[use]>1){
character[GetPlayerCharacter()].inv[use]=1;
}
use++
}
UpdateInventory();

VII Toast

Code: ags
int use;


use=1; 
while(use<x){//replace x with number of items
if(character[GetPlayerCharacter()].inv[use]>1){
character[GetPlayerCharacter()].inv[use]=1;
}
use++
}
UpdateInventory(); 


That?
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Edwin Xie

Goot, VII Toast modified the title and his post. The post was originally asking about characters.
Moving at superhigh speed getting to the planet called Earth. But it is boxed in white......thing.....

VII Toast

Soo...that's the code right? ???
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

TerranRich

#7
VII Toast, I believe I have told you this before. I may be mistaken though.

Please try not to alter your first post. It makes the entire thread make no sense. Instead, you are allowed to start a thread. It is, after all, a new topic and a new question.

I am asking you to please put your original post back to what it was before and start a new thread. Otherwise, I will do it for you. Guess I can't do it myself. :P
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk