QUOTE (Arte Gordon in the "How Do I" Section) |
Immediately attack the triggering char: To spawn a mob that immediately targets the triggering char and begins attacking you would set the Combatant property to point to the triggering char, and then put the mob into warmode, like this ArcherGuard/Combatant/TRIGMOB/warmode/true where the TRIGMOB keyword automatically refers to the triggering char. The sphynx.npc file in xmlextras also has an example of this kind of thing for the Action field of Xmldialogs (if you get the question wrong you get immediately attacked). Note, that the spawner must set up to be triggered by a character for this to work. Immediately attack a named char: If you wanted to have the mob attack a specific named char or npc, you could use the MOB keyword like this ArcherGuard/Combatant/MOB,Slappy,playermobile/warmode/true which would have it attack the playermobile named 'Slappy' ArcherGuard/Combatant/MOB,Bobo,balron/warmode/true which would have it attack the balron named 'Bobo' This does NOT require that the spawner be triggered by a char. |
QUOTE |
TAKEBYTYPE,1.0,1,true/leftarm|TAKEBYTYPE,1.0,1,true/rightarm|TAKEBYTYPE,1.0,1,true/torso|TAKEBYTYPE,1.0,1,true/head|TAKEBYTYPE,1.0,1,true/rightleg|TAKEBYTYPE,1.0,1,true/leftleg |
QUOTE (Xerocrates @ May 03, 2007 04:08 pm) |
ehm... who i can write I want to check if this player as 1 item1 & 1 item2 & 1 item3? |
QUOTE |
AMOUNTCARRIED,torso>0 & AMOUNTCARRIED,head>0 & AMOUNTCARRIED,leftleg>0 & AMOUNTCARRIED,rightleg>0 & AMOUNTCARRIED,leftarm>0 & AMOUNTCARRIED,rightarm>0 |