Thread: Help
View Single Post
  #7  
Old 06-18-2003, 03:37 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Re: Help

Quote:
Originally posted by DarkShadows_Legend
How would I find out who hit me. Like let's say I want to make something that keeps track of who hit me and what their sword power was. What commands would I use for this?
As it already was said, triggeraction... If you want to use the standard sword system then make a extra -system npc...
If you press S then have a triggeraction at a certain place,

triggeraction the.x,the.y,keeptrack,#a,players[index].swordpower;

Also the system should contain:

if (actionkeeptrack){
setstring client.wholasthit,#P1;
setstring client.wholasthitswordpower,#P2;
}
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote