Enableing Script messeges

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
Redspike





Posts: 109
Joined: Sat Apr 03, 2004 8:19 am
Location: England

Enableing Script messeges

Post by Redspike »

ive been trying for a while and cant figure out how to enable scripted messeges.
ive compiled many scripts but it seems the Print function doesnt ever print text.
ive noticed theres loads of un printed developer text in singleplayer maps.
is there a way to enable this?

example

(print "why am i not printing ?")

ps i am using script tools by soljier of light.
Image
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post by latinomodder »

(Script Continuous Test
(begin
(print "Wtf it works")
)
)

It will keep repeating that on your screen
Image
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

The print script doesn't exist in the xbe, you'll need to use yelo as a workaround...
User avatar
Redspike





Posts: 109
Joined: Sat Apr 03, 2004 8:19 am
Location: England

Post by Redspike »

xbox7887 wrote:The print script doesn't exist in the xbe, you'll need to use yelo as a workaround...
could you explain a littler thurther. how can i use yelo to do this?

thanks :)
Image
Shock120





Posts: 318
Joined: Wed Apr 25, 2007 10:55 am

Post by Shock120 »

Redspike wrote:
xbox7887 wrote:The print script doesn't exist in the xbe, you'll need to use yelo as a workaround...
could you explain a littler thurther. how can i use yelo to do this?

thanks :)
[Enable] Debug Output in Yelo v1.5 to see Print scripts
Last edited by Shock120 on Tue May 27, 2008 4:47 pm, edited 1 time in total.
Shock120 on XLink & XBC
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

By "doesn't exist" I mean that it is a debug feature that isn't compiled with retail builds. It gets replaced with a null-sub instead, so when you call the print script, nothing happens. Take a look at this to see what I mean...

http://forums.halomods.com/viewtopic.php?p=693714
Post Reply