ID:263775
 
Code:
mob
verb
say(msg as text)
view() << output("[usr]: [msg]","gameview.output")


Problem description:
The text (msg) isn't sent to the window. Last time I used BYOND (my computer died so I can't check my source for a couple of days till I get the mother board replaced....) I had issues with it requiring the ID or name or something to be capitalized, is that the issue?

Any and all help is very much appreciated,
Thanks!

Tim

Okay, I fixed that problem, I was just sending it to view, which makes me feel increadably stupid. Anyways, Now I have a new problem, I can't move. I set up objects, the inventory, and a get verb (I have done all of this before but not with 4.0 and interface files...) but for some reason the chat bar (default input control) keeps too strong a focus. When I try to move left of right (using numpad or arrow keys) it does nothing, and when I try to move up or down it scrolls through commands I've recently typed into the default input bar. Any ideas? Here is my code so far:

mob
icon='player.dmi'
verb
say(msg as text)
usr << output("[usr]: [msg]","gameview.output")
proc
UpdateInventory()
var
items=0
for(var/obj/O in src)
winset(src, "gameview.inventory", "current-cell=[++items]")
src << output(O, "gameview.inventory")
winset(src, "gameview.inventory", "cells=[items]")

obj
var
Static=1
value=0
verb
Get(O as obj in oview(1))
Move(locate(src))
usr.UpdateInventory()
magnum
icon='magnum.dmi'
Static=0
value=50


[edit]: I almost forgot, I can move if I type .north, .south, etc. into the input bar if I disable the default command as being say ".

Tim
In response to Timmeh_1250
Do you have a default map control? And your say verb is pointless if you make your output default. Right now it only sends the message to you. If you want something outputted to everyone in a distance, use for().
In response to Kaiochao2536
I know about the say verb, that's just for testing perposes. There is a default map control and, as I stated earlier, if I disable the input line from automaticly using the say verb and instead type either .north, .south, .east or .west I move correctly, it just doesn't detect arrow key and numpad button presses.

Thank you though!

Tim
In response to Timmeh_1250
You could've accidentally deleted the default movement macros, or your default window doesn't have the Macros option set correctly. I think that's it.
In response to Kaiochao2536
The movement macros are still there, how do I set the Macro option to use them?

Tim