MurnaneX Posted January 9, 2009 Author Share Posted January 9, 2009 ok so i was wondering if it was possible that if say you killed 10 ghouls on a map that had a barren terrain could change into a terrain with flowers and nice grass.if that cant be done is there a script that would warp all players on that map to a new map at the same co-ords? but with a loop or something cause i dont want to put scripted tiles everywhere.thx Link to comment Share on other sites More sharing options...
cheatking Posted January 9, 2009 Share Posted January 9, 2009 It is possible via scripting but your best bet would b warp payers to new map. Link to comment Share on other sites More sharing options...
MurnaneX Posted January 9, 2009 Author Share Posted January 9, 2009 yeh that would make glitches tho if somebody was attacking something and it changed?so theres no script already made that does this im guessing? Link to comment Share on other sites More sharing options...
cheatking Posted January 9, 2009 Share Posted January 9, 2009 No no script yet. I could make one for you. But I'm not 100% shure how to tackle it. Link to comment Share on other sites More sharing options...
MurnaneX Posted January 9, 2009 Author Share Posted January 9, 2009 well that would be great i have a bit of scripting knowledge so even if u were able to make a small sample just so wen u walk over a tile the map changes i could implement it with specifics and i would credit u and everything. Link to comment Share on other sites More sharing options...
cheatking Posted January 9, 2009 Share Posted January 9, 2009 Ok I'm allmost done :PEdit:Done.```' Executes whenever an NPC is killed.' Note: Death occurs as normal externally to this script.Sub OnNPCDeath(Index, Map, NPCNum, NPCIndex) Call BattleMsg(Index, "You killed a " & GetNpcName(NPCNum) & ".", BRIGHTRED, 0) If NPCNum = 5 Then ' Change 5 to The number of the npc. Call PutVar("Script.ini", "Terraform", "Npc", GetVar("Script.ini", "Terraform", "Npc") + 1) End IfEnd Sub' Executes every second, based on the server time.Sub TimedEvent(Hours, Minutes, Seconds)Dim IndexIndex = 1 If GetVar("Script.ini", "Terraform", "Npc") = 5 Then ' Change 5 to The number of npc needing killed. Do While Index < 100 If GetPlayerMap(index) = 5 Then ' Change 5 to the map with all the gouls Call PlayerWarp(Index, 5, GetPlayerX(index), GetPlayerY(index)) ' Change 5 to the new map Call PutVar("Script.ini", "Terraform", "Npc", 0) Index = Index + 1 End If Loop End IfEnd Sub``` Link to comment Share on other sites More sharing options...
MurnaneX Posted January 9, 2009 Author Share Posted January 9, 2009 wow thank you very much Link to comment Share on other sites More sharing options...
Sigait Posted January 9, 2009 Share Posted January 9, 2009 Nicely done \\Sean// :) Link to comment Share on other sites More sharing options...
cheatking Posted January 9, 2009 Share Posted January 9, 2009 Ofcorse its nicly done I'm a good scripter. Just lack ideas :P Link to comment Share on other sites More sharing options...
Sigait Posted January 9, 2009 Share Posted January 9, 2009 @\\Sean//:> Ofcorse its nicly done I'm a good scripter. Just lack ideas :PI've never doubt it ;) Link to comment Share on other sites More sharing options...
Zarnick123 Posted January 9, 2009 Share Posted January 9, 2009 all this is doing is warping you?if so this is like 3 lines dude… Link to comment Share on other sites More sharing options...
cheatking Posted January 9, 2009 Share Posted January 9, 2009 Its warping everyone on the same map after x amount of npc are killed. Link to comment Share on other sites More sharing options...
Zarnick123 Posted January 9, 2009 Share Posted January 9, 2009 oooo, my bad. good job then :cheesy: Link to comment Share on other sites More sharing options...
Sigait Posted January 9, 2009 Share Posted January 9, 2009 @The:> oooo, my bad. good job then :cheesy:lol,yeah its a nice script!!Sigait. Link to comment Share on other sites More sharing options...
HawkStorm95 Posted January 9, 2009 Share Posted January 9, 2009 nice script! i could use this. Link to comment Share on other sites More sharing options...
Sigait Posted January 9, 2009 Share Posted January 9, 2009 @HawkStorm95:> nice script! i could use this.Well if you know some scripting you can do this by yourself its pretty simple but very effective.Sigait. Link to comment Share on other sites More sharing options...
Alster Posted January 9, 2009 Share Posted January 9, 2009 Very nice script there Sean. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now