Post your scripting questions / solutions here
Moderator: Moderators
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
How to print to console without printing to game screen?
-
lizardkid
- Windows Zealot
- Posts: 3672
- Joined: Fri Mar 19, 2004 7:16 pm
- Location: Helena MT
Post
by lizardkid »
echo "string"
print "string"
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Elgan
- Site Admin
- Posts: 890
- Joined: Tue Apr 13, 2004 10:43 pm
- Location: uk
-
Contact:
Post
by Elgan »
println "string"
printline
print will print a stirng without a new line
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
hmmm, maybe because im using spearhead?
echo and printline crash my scr
print and println doesnt work for me, nothing happens?
but
iprintln puts it on the game screen and i know several variations on that - bold , noloc, whatever - anyways-
i want to print some cvars and also put printflags so i can test my scripts without alot of chunk sowing up on the screen!! just in console
stupid stuff -
what is string? - can you give me some examples of print to console with these results??
like a var -
print "local.countpeeps"
and just text
print "it worked"
do i need () or something?
-
lizardkid
- Windows Zealot
- Posts: 3672
- Joined: Fri Mar 19, 2004 7:16 pm
- Location: Helena MT
Post
by lizardkid »
ok, use println
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
yea used -
print "hello"
print ("hello")
println "hello"
println ("hello")
nothing

-
Elgan
- Site Admin
- Posts: 890
- Joined: Tue Apr 13, 2004 10:43 pm
- Location: uk
-
Contact:
Post
by Elgan »
maybe have develepor 1?
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
ummm ? whats that? i guess not? need a scripter LOL
-
Elgan
- Site Admin
- Posts: 890
- Joined: Tue Apr 13, 2004 10:43 pm
- Location: uk
-
Contact:
Post
by Elgan »
in console type
developer 1
-
ViPER
- General
- Posts: 1058
- Joined: Fri Jan 14, 2005 5:48 pm
- Location: California
-
Contact:
Post
by ViPER »
yea that did it ty
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
-
Contact:
Post
by Green Beret »
Viper wrote:yea used -
print "hello"
print ("hello")
println "hello"
println ("hello")
nothing

try putting the
i in front of print
iprintln "Hello"
-
lizardkid
- Windows Zealot
- Posts: 3672
- Joined: Fri Mar 19, 2004 7:16 pm
- Location: Helena MT
Post
by lizardkid »
taht prints it to screen. he wants to console
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
-
Contact:
Post
by Green Beret »
Yea, I have the same problem.I even set it to developer 1