pajodex Posted January 29, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: April 14 Share Posted January 29, 2018 (edited) Hi, Is it possible to script that an Npc will summon a slave clone a random online male player to the female character who talked to the npc? Limit only to one clone per character. Once character is dead, clone needs to be resummoned. Edited January 29, 2018 by pajodex Quote Link to comment Share on other sites More sharing options...
0 Hurtsky Posted January 29, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 118 Reputation: 58 Joined: 11/24/16 Last Seen: February 20 Share Posted January 29, 2018 only slave for follow you? Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted January 29, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: April 14 Author Share Posted January 29, 2018 (edited) Also for attack. But only monsters if possible. Evil clones are the ones who attacks players, right? Edited January 29, 2018 by pajodex Quote Link to comment Share on other sites More sharing options...
0 Hurtsky Posted January 29, 2018 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 118 Reputation: 58 Joined: 11/24/16 Last Seen: February 20 Share Posted January 29, 2018 7 hours ago, pajodex said: Also for attack. But only monsters if possible. Evil clones are the ones who attacks players, right? here you go - script Clone NPC -1,{ if ( slave == 0 ) { getmapxy ( .@map$ , .@x , .@y , UNITTYPE_PC ); .@slaveID = clone ( .@map$, .@x , .@y , "" , getcharid(0), getcharid(0), 0x1089 ); if ( SEX == SEX_MALE ) .@sex = SEX_FEMALE; else .@sex = SEX_MALE; setunitdata .@slaveID, UMOB_SEX, .@sex; slave = 1; } end; OnPCDieEvent: slave = 0; end; } prontera,170,195,4 duplicate(Clone NPC) Clone NPC#pron 894 1 Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted January 29, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: April 14 Author Share Posted January 29, 2018 Cool Thanks! Quote Link to comment Share on other sites More sharing options...
Question
pajodex
Hi,
Is it possible to script that an Npc will summon a slave clone a random online male player to the female character who talked to the npc?
Limit only to one clone per character. Once character is dead, clone needs to be resummoned.
Edited by pajodexLink to comment
Share on other sites
4 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.