nicheni Posted June 6, 2013 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 1 Reputation: 0 Joined: 06/06/13 Last Seen: June 6, 2013 Share Posted June 6, 2013 Im thinking if i could create an npc that could attack an player, like a soldier in a city, that attacks an robber (player). Quote Link to comment Share on other sites More sharing options...
Mabuhay Posted June 6, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 446 Reputation: 232 Joined: 03/20/12 Last Seen: October 22, 2020 Share Posted June 6, 2013 Not that i heard of. Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 6, 2013 Only 'npcskill', which you could create an OnTouch label for: *npcskill <skill id>,<skill lvl>,<stat point>,<NPC level>; *npcskill "<skill name>",<skill lvl>,<stat point>,<NPC level>; This command causes the attached NPC object to cast a skill on the attached player. The skill will have no cast time or cooldown. The player must be within the default skill range or the command will fail silently. The "stat point" parameter temporarily sets all NPC stats to the given value, and "NPC level" is the temporary level of the NPC (used in some skills). Neither value can be greater than the max level defined in config, and will not work properly if the NPC has a mob sprite. // Casts Level 10 Heal on the attached player, calculated with // all stats 99 and base level 60. npcskill "AL_HEAL",10,99,60; Quote Link to comment Share on other sites More sharing options...
Question
nicheni
Im thinking if i could create an npc that could attack an player, like a soldier in a city, that attacks an robber (player).
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.