Print text on screen?

broken avatar :(
Created 1115 days ago
by wumbi
0 Members and 1 Guest are viewing this topic.
1,508 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 August 2016
Last active: 407 days ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
wumbi's Groups
wumbi's Contact & Social Links
I know what code to use

system::wait_till( "player_spawned" );
IPrintLn("Hi");

But I don't know where to put it. I have watched every scripting tutorial I could find and I have a bit of C++ knowledge and still can't figure it out. Any help and advice on how to figure things like this out by myself in the future is appreciated!
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 21 October 2016
Last active: 888 days ago
Posts
4
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
corybestgrill's Groups
corybestgrill's Contact & Social Links
Make a function and then call that function in your .gsc file
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 58 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
Make a function and then call that function in your .gsc file

Or you can go into your mapname.gsc and add this to the main function.
callback::on_spawned(&on_player_spawned);

Then make another function like this:
function on_player_spawned()
{
    // You might need to add wait(2) or wait(3) here so it waits for the black screen to go away.
    self IPrintLnBold("sometext");
}

This is also explained Here
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 4 days ago
Posts
3,999
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Or you can go into your mapname.gsc and add this to the main function.
callback::on_spawned(&on_player_spawned);

Then make another function like this:
function on_player_spawned()
{
    // You might need to add wait(2) or wait(3) here so it waits for the black screen to go away.
    self IPrintLnBold("sometext");
}

This is also explained Here

Can always use this: level flag::wait_till( "initial_blackscreen_passed" );

Havent seen it in MP, but might work, lol
Last Edit: October 22, 2016, 05:39:00 pm by HitmanVere
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 September 2016
Last active: 58 days ago
Posts
306
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
reckfullies's Groups
reckfullies's Contact & Social LinksReckfulliesReckfullies
Can always use this: level flag::wait_till( "initial_blackscreen_passed" );

Havent seen it in MP, but might work, lol

I assume it would since it is a flag::wait_till.

Last time I used it a could swear it did it too early but you can always add like wait(2) to this as well to make it the exact time you want.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 April 2015
Last active: 855 days ago
Posts
40
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Level Designer
×
Taven's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Taven's Contact & Social LinkskingTavenkingTaven_Taven_TavenDevMy Site
Can always use this: level flag::wait_till( "initial_blackscreen_passed" );

Havent seen it in MP, but might work, lol
If I recall correctly MP doesn't need that flag :P

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Twitch
Loading ...