I tried setting my main chat box as default and 2nd attack box is normal(didn't check default).
Code I used for regular chat box is like 3.5
src << "Blah"
But with the attack box I tried
src << output2("Blah")
ID:271619
Aug 11 2007, 5:11 am
|
|
Is it possible to have 2 output boxes, one used as a chat box and other with stuff like attack messages.
I tried setting my main chat box as default and 2nd attack box is normal(didn't check default). Code I used for regular chat box is like 3.5
src << "Blah"
But with the attack box I tried
src << output2("Blah")
|
In response to Crunched
|
|
Thanks for the help, it works good.
|
Give the chat output box the default value, and give the second one an ID of Attackouput then do this when you attack:
mob/verb/Attack() P.S. see how it is
"default.Attackouput "
|
src<<output("HI","outputid2")