maths221 Posted January 10, 2010 Author Share Posted January 10, 2010 is it possible to do this: when a player walks over a place a big message pops up with some message on it. please help i want to use this 4 a members thing on my game thx Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 10, 2010 Share Posted January 10, 2010 Where do you want it? In a pop-up box or global message? Link to comment Share on other sites More sharing options...
maths221 Posted January 10, 2010 Author Share Posted January 10, 2010 Pop up box preferably Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 10, 2010 Share Posted January 10, 2010 Ok, go to Server > Scripts > main.txt, and CTRL + F for:Sub ScriptedItemNow, right before where it saysCase 0add:Case 2 Call MsgBox("Replace this with your text but keep the "" marks that surround it") Link to comment Share on other sites More sharing options...
Staplez Posted January 10, 2010 Share Posted January 10, 2010 smart :-) any ways thats good to know i can use this sort of like ppl are talking to me Link to comment Share on other sites More sharing options...
maths221 Posted January 10, 2010 Author Share Posted January 10, 2010 done that but where will the message popup????? Link to comment Share on other sites More sharing options...
Staplez Posted January 11, 2010 Share Posted January 11, 2010 @maths221:> done that but where will the message popup?????is scripts on ther server on??? Link to comment Share on other sites More sharing options...
blackkat9666 Posted January 11, 2010 Share Posted January 11, 2010 soul, i've noticed "scripted item"he said when he walks on a spot that it makes the pop up box appearso shouldn't it be in scripted tiles? Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 @blackkat9666:> soul, i've noticed "scripted item"> he said when he walks on a spot that it makes the pop up box appear> so shouldn't it be in scripted tiles?i was thinking bout that. should i make a script and then make a scripted atribute???*Note:* I make a scripted addribute but it said:no tile script found please contact an admin to solve this problem Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 12, 2010 Share Posted January 12, 2010 Then find scriptedtile instead of scripteditem. Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 is that under main.txt Link to comment Share on other sites More sharing options...
Tdogthedog Posted January 12, 2010 Share Posted January 12, 2010 no its in your Main.TxtLook For this:```' Executes when a player steps onto a scripted tile.Sub ScriptedTile(Index, Script) Dim dir dir = GetPlayerDir(Index) Select Case Script Case 0Call PlayerMsg(index,"Hi this is a scripted tile",0) Exit Sub Case Else Call PlayerMsg(Index, "No tile script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End SelectEnd Sub``` Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 found that now what??? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 12, 2010 Share Posted January 12, 2010 > Now, right before where it says> > Case 0> > add:> > Case 2> Call MsgBox("Replace this with your text but keep the "" marks that surround it")I post instructions for a reason. Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 where will the message show Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 12, 2010 Share Posted January 12, 2010 In a pop up box. Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 where do i have to walk to make the message show Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 12, 2010 Share Posted January 12, 2010 You have to go to the map editor > Attributes (where you find blocked and other) > Scripted > Set the scrollbar to 2.Then just lay it down wherever.If that doesn't work, make sure Scripting=1 in data.ini Link to comment Share on other sites More sharing options...
maths221 Posted January 12, 2010 Author Share Posted January 12, 2010 thanks that works but it comes up as a message in the chat box not a popup box i did as you said Link to comment Share on other sites More sharing options...
maths221 Posted January 13, 2010 Author Share Posted January 13, 2010 YAY!!! the popup message comes up. But it says "Replace This Text With Your Own But Keep The "" Marks That Suround It" but there is no text of that sort on main.txt Link to comment Share on other sites More sharing options...
cheatking Posted January 13, 2010 Share Posted January 13, 2010 Call MsgBox("Replace this with your text but keep the "" marks that surround it")That is what you change. Link to comment Share on other sites More sharing options...
blackkat9666 Posted January 13, 2010 Share Posted January 13, 2010 lol in the script where it says "replace this text with your own but keep the "" marks that suround it"replace that for what you want, but like it says, keep the " at the begining and ending of the textEDIT: oops, didn't see the 2nd page Link to comment Share on other sites More sharing options...
maths221 Posted January 14, 2010 Author Share Posted January 14, 2010 how do i change the text Link to comment Share on other sites More sharing options...
Ruins of Hell Posted January 14, 2010 Share Posted January 14, 2010 You just take away what's there… and add what you want, but keep the " marks around it.That's so obvious. Link to comment Share on other sites More sharing options...
blackkat9666 Posted January 14, 2010 Share Posted January 14, 2010 holy crap 3 ppl said the same thing in diffrent ways, yet…wow, hope he understands your way soul XD 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