A Problem With Scripting In Ns3

evilwallpaperevilwallpaper Join Date: 2004-01-30 Member: 25745Members, Constellation
<div class="IPBDescription">echo command not working</div> does anyone know how to echo text in the new ns, i need to to tell me which chamber/voice comm i have sellected on my mouse wheel when i cycle through them. I used "developer 1" and "developer 0" in NS2 but it doesnt seem to work anymore and i have to keep checking back to the console to see what is selected.

heres the alien part of the script.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->

bind MWHEELDOWN "abuild4"
bind MWHEELUP "abuild2"
bind MOUSE3 "impulse 91"
alias devon "developer 1"
alias defoff "developer 0"

alias abuild1 "mwdabd4; mwuab2; m31; devon; echo BUILD OFFENSIVE; defoff"
alias abuild2 "mwdab1; mwuab3; m32; devon; echo BUILD DEFENSIVE; defoff"
alias abuild3 "mwdab2; mwuab4; m33; devon; echo BUILD SENSORY; defoff"
alias abuild4 "mwdab3; mwuab1;m34; devon; echo BUILD MOVEMENT; defoff"

alias mwdab1 "bind MWHEELDOWN abuild1"
alias mwdab2 "bind MWHEELDOWN abuild2"
alias mwdab3 "bind MWHEELDOWN abuild3"
alias mwdab4 "bind MWHEELDOWN abuild4"

alias mwuab1 "bind MWHEELUP abuild1"
alias mwuab2 "bind MWHEELUP abuild2"
alias mwuab3 "bind MWHEELUP abuild3"
alias mwuab4 "bind MWHEELUP abuild4"

alias m31 "bind MOUSE3 "impulse 91""
alias m32 "bind MOUSE3 "impulse 92""
alias m33 "bind MOUSE3 "impulse 93""
alias m34 "bind MOUSE3 "impulse 94""

<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

everything works bar the echoing <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->

Comments

  • RueRue Join Date: 2002-10-21 Member: 1564Members
    yeh i noticed steam has a thing about not showing console stuff even with dev 1, maybe just make a .wav that says what you want to come up on the screen, very futuristic <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • DC_DarklingDC_Darkling Join Date: 2003-07-10 Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
    I had probs 2 that developer aint working.

    Maybe upping it to developer 2 or higher. I did not try yet.
  • th0r0nth0r0n Born again n00b Join Date: 2003-06-12 Member: 17313Members
    The problem is you can no longer script in NS, it's disabled.
  • Nemesis_ZeroNemesis_Zero Old European Join Date: 2002-01-25 Member: 75Members, Retired Developer, NS1 Playtester, Constellation
    It's a feature, not a bug <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->

    <span style='color:red'>***Locked.***</span>
This discussion has been closed.