ok, im trying to add 3 different outputs to my game, ones View, Player Says: hi. and ones World, Player Says to the world: Hi. and System, Player hits Monster for 5 damage
i added the panes to my interface and i try
Login()
World << system("[usr.name] Logs in!")
it says
loading Game.dme
loading Interface.dmf
World.dm:11:error:system:undefined proc
Game.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
how do i fix it?
ID:272609
![]() Oct 19 2008, 4:42 pm
|
|
![]() Oct 19 2008, 4:45 pm
|
|
It's 'world' not 'World'.
|
Of course, all you really need to do is world<<"[name] logs in!"
output() is used only for interface controls. Normal text outputting(<<) sends the text to the "Default" output control. |