JassMax Posted July 2, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.01 Content Count: 235 Reputation: 0 Joined: 05/03/13 Last Seen: December 18, 2018 Share Posted July 2, 2013 i want if any player login and find themselves in home town there would be rainbow appear (specialeffect 410) rainbow should appear in particular spot..or it would be work..as well if there is not particular spot... Thanks in advance.. Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 2, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Tuesday at 05:38 PM Share Posted July 2, 2013 prontera,155,181,5 script Sample #rainbow 111,{ end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) specialeffect EF_RAINBOW; end; OnInit: set .map$,strnpcinfo(4); setmapflag .map$,mf_loadevent; end; } 1 Quote Link to comment Share on other sites More sharing options...
Yomigaeru Posted July 2, 2013 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 89 Reputation: 5 Joined: 12/25/11 Last Seen: January 3, 2019 Share Posted July 2, 2013 OnPCLogInEvent: if if( strcharinfo(3) == "<map_name>" ) { specialeffect 410; end; 1 Quote Link to comment Share on other sites More sharing options...
JassMax Posted July 2, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.01 Content Count: 235 Reputation: 0 Joined: 05/03/13 Last Seen: December 18, 2018 Author Share Posted July 2, 2013 hmm not working..? need to correct script ?thanks for reply.. Quote Link to comment Share on other sites More sharing options...
JassMax Posted July 2, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.01 Content Count: 235 Reputation: 0 Joined: 05/03/13 Last Seen: December 18, 2018 Author Share Posted July 2, 2013 prontera,155,181,5 script Sample #rainbow 111,{ end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) specialeffect EF_RAINBOW; end; OnInit: set .map$,strnpcinfo(4); setmapflag .map$,mf_loadevent; end; } Cool working..but i dont want to add npc... Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 2, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Tuesday at 05:38 PM Share Posted July 2, 2013 you need that "invisible npc" ... otherwise i have no idea where the rainbow will be shown ... to display any effects from trunk/doc/effect_list.txt , you need to attach the script to a npc or player... Quote Link to comment Share on other sites More sharing options...
JassMax Posted July 2, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.01 Content Count: 235 Reputation: 0 Joined: 05/03/13 Last Seen: December 18, 2018 Author Share Posted July 2, 2013 you need that "invisible npc" ... otherwise i have no idea where the rainbow will be shown ... to display any effects from trunk/doc/effect_list.txt , you need to attach the script to a npc or player... Alright this will work too.. thanks a lot Emistry Quote Link to comment Share on other sites More sharing options...
Question
JassMax
i want if any player login and find themselves in home town there would be rainbow appear (specialeffect 410)
rainbow should appear in particular spot..or it would be work..as well if there is not particular spot...
Thanks in advance..
Link to comment
Share on other sites
6 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.