Printing end to map
Moderator: Core Staff
Printing end to map
I would need something like this: user iprintlnbold ("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3"); to print to the center of the screen when someone ends the map but i want to make it visible to everyone not just the one who ends. How is it possible, pls help me
Re: Printing end to map
...
Or:
Or:
Code: Select all
finished_map()
{
trigger = getent("endtrigger","targetname");
while (1)
{
trigger waittill("trigger",user);
iprintlnbold("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3");
wait 3;
}
}
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Re: Printing end to map
If you only want it once.
Code: Select all
finished_map()
{
trigger = getent("endtrigger","targetname");
while (1)
{
trigger waittill("trigger",user);
if(!isDefined(user.finished))
iprintlnbold("^3C^9ongratulation^3, N^9ice ^3j^9ob^3, m^9an^3! ^3");
user.finished = true;
wait 1;
}
}
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
Re: Printing end to map
Thanks i'll try
Re: Printing end to map
On those maps where is no "end" text, no congratulations or anything, how it is possible to print such?
Re: Printing end to map
If u want to add that to a map u need the .map file. If u got this u can add a trigger or whatever u want and write the script into the .gsc file. But u need the .map file maybe ask the mapper if he gives it to you.
I hope i didnt missunderstand cause im not sure if this is what u wanna hear
I hope i didnt missunderstand cause im not sure if this is what u wanna hear
I think my Radiant hates me -.-
.|GeR|'> Ykarus: again i cant jump ypur map ...
'Pnin. Designsâ„¢: ship tappens ^^
.|GeR|'> Ykarus: ship tappens...
-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]
-
- CJ Wannabe
- Posts: 42
- Joined: December 23rd, 2008, 5:14 pm
-
- Core Staff
- Posts: 2214
- Joined: February 6th, 2006, 3:18 pm
- Location: Germany/Bayern
Re: Printing end to map
why so complicated you can spawn a trigger at coordinates and voila via mod you have that - As far I remember projumpers mod uses this for their records etc
THAT HANDS WERE NOT TRACED!
visit my blog: Link
visit my blog: Link
Soviet wrote:Yeah, watch out, Peds will hit you with his +5 D-Battleaxe of homosexuality
-
- CJ Wannabe
- Posts: 42
- Joined: December 23rd, 2008, 5:14 pm
Re: Printing end to map
Nah, it works just like Killersam said - It's more precise IMO...
Ex CoD2 mapper/modder.
Who is online
Users browsing this forum: No registered users and 39 guests