Wing Posted December 29, 2008 Author Share Posted December 29, 2008 If i remember correct, there used to be nigame scripting.How would i script :Script 0Script 1So i can use click tiles and all.This is for ee7 Link to comment Share on other sites More sharing options...
cheatking Posted December 29, 2008 Share Posted December 29, 2008 Not shure what your asking… Link to comment Share on other sites More sharing options...
AdrianC Posted December 29, 2008 Share Posted December 29, 2008 Add your scripts to main.txt Link to comment Share on other sites More sharing options...
Wing Posted December 29, 2008 Author Share Posted December 29, 2008 Ok, so i add it to the end of main.txt, what numbers would it go by? Link to comment Share on other sites More sharing options...
AdrianC Posted December 29, 2008 Share Posted December 29, 2008 No not to the end. If you read through main.txt, its quite well explained.Each Sub interacts with a different portion of the game. Link to comment Share on other sites More sharing options...
Zuleloan Posted December 29, 2008 Share Posted December 29, 2008 I think hes talking about cases Link to comment Share on other sites More sharing options...
AdrianC Posted December 29, 2008 Share Posted December 29, 2008 Yeah he is. But the cases are located within certain subs. Link to comment Share on other sites More sharing options...
Lamagod Posted December 29, 2008 Share Posted December 29, 2008 Ingame scripting? I haven't used eclipse in ages, but in elysium, its /editmain.In playerworlds, its /editscriptjust try things like that.F1 might have a panel, with that on it.As for the rest of your question, i'm just as confused as everyone else. Link to comment Share on other sites More sharing options...
DarkSpine Posted December 29, 2008 Share Posted December 29, 2008 Wing, say you want a scripted tile, search your main for Sub ScriptedTile and you should find it.add Case 1, 2, 3 ,4 or whatever number and add in the script after that.If that's not what your asking, then i don't know >.<Spine Link to comment Share on other sites More sharing options...
Akselj Posted December 30, 2008 Share Posted December 30, 2008 EE 7? Lol. Gues you mean EE 2.7Anyways, here's how to do it;Scripted tile looks like this:```Sub ScriptedTile(Index, Script) Select Case Script Case 0 Call PlayerMsg(Index, "This scripted tile has no apparent use.", WHITE) 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```To add new cases, start like this:```Sub ScriptedTile(Index, Script) Select Case Script Case 0 -Your script here Case Else Call PlayerMsg(Index, "No tile script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End SelectEnd Sub```This will be script no. 0 in map editor.And go on like this:```Sub ScriptedTile(Index, Script) Select Case Script Case 0 -Your script here- Case 1 -Your next script here- Case 2 -Your third script here (You can keep going as long as you want)- Case Else Call PlayerMsg(Index, "No tile script found. Please contact an admin to solve this problem.", WHITE) Exit Sub End SelectEnd Sub```Case Else is a case you probaly should let stay, it executes if none of the other cases are specified and the specified script for the tile that is stepped on.Hope it helps you, I wish you good luck with SadScriptAkselJ Link to comment Share on other sites More sharing options...
Dark_Marine_123 Posted January 3, 2009 Share Posted January 3, 2009 To make ingame scripting work again, (I did it, it uses the old Konfuze Script editor, but I effin pulled it off) Its a series of Client/Server modsAnd the command is /editmain or /maineditor for ya Ch00bz Link to comment Share on other sites More sharing options...
dragonlord52 Posted January 3, 2009 Share Posted January 3, 2009 The tile click sub should look something like this> Sub OnClick(Index, Script)> Case 0> Case Else> Call PlayerMsg(Index, "The script does not exist, please contact and admin", 14)> End Sub 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