ID:178694
 
yeah well i can remember reading the answer to this question somewhere but cant remember where.

how do u make the screen so its zoomed in rather then show the entire map.

thx
Akarat wrote:
yeah well i can remember reading the answer to this question somewhere but cant remember where.

how do u make the screen so its zoomed in rather then show the entire map.

thx

Indented under the login() section of your code put something like the following:

view = 6

The number specifies the squares that you see both vertically and horizontally. Hope this helps.

Lee
In response to Mellifluous
thx man check the THANKYOU :) post i posted earlier its 4 u !
In response to Mellifluous
it didnt work it said undefined variable.

In response to Akarat
Akarat wrote:
it didnt work it said undefined variable.

mob/login()
name = "My Game"
view = 6


Like that ^_^

Try it that way, and tell me again if you still dont get it correctly

Lee
In response to Mellifluous
no errors about the view but some more seem to of come
Stat()
statpanel("Stats")
stat("HP:","[src.HP]")

sskies.dm:40:error: proc definition not allowed inside another proc


In response to Akarat
Akarat wrote:
no errors about the view but some more seem to of come
Stat()
statpanel("Stats")
stat("HP:","[src.HP]")

sskies.dm:40:error: proc definition not allowed inside another proc



Can you point out the exact line that has the error please?
In response to Akarat
Akarat wrote:
no errors about the view but some more seem to of come
Stat()
statpanel("Stats")
stat("HP:","[src.HP]")

sskies.dm:40:error: proc definition not allowed inside another proc


Looks like an indent problem to me. You've mixed spaces and tabs... a real no-no.
In response to Skysaw
Skysaw wrote:
Akarat wrote:
no errors about the view but some more seem to of come
Stat()
statpanel("Stats")
stat("HP:","[src.HP]")

sskies.dm:40:error: proc definition not allowed inside another proc


Looks like an indent problem to me. You've mixed spaces and tabs... a real no-no.

I was looking at that but I didnt take it into consideration.

Oh well
Make the map size more than 20x20 :)