• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help level waittill("event" or " this event");
#1
Hey guys there is a way to do this?

level waittill("event" or "that event");
  Reply
#2
level notify("event" or "that event");
  Reply
#3
(07-11-2011, 15:35)rotceh_dnih Wrote: level notify("event" or "that event");

??? is this the answer or you are kidding me?
mmm Perhaps we have not understood, I want to know the syntax to wait for this notification or that other
  Reply
#4
HE is being serious..

PHP Code:
randomcode()
{
    
self waittill("death")

    if(
self level.importantperson)
    {
        
level notify("important_person_dead")
    }
}

morerandom()
{
    
level waittill("important_person_dead")
    
    ...

  Reply
#5
Use this function
Code:
waittill_any( string1, string2, string3, string4, string5 )
{
    assert( IsDefined( string1 ) );
    
    if ( IsDefined( string2 ) )
        self endon( string2 );
    if ( IsDefined( string3 ) )
        self endon( string3 );
    if ( IsDefined( string4 ) )
        self endon( string4 );
    if ( IsDefined( string5 ) )
        self endon( string5 );
    
    self waittill( string1 );
}


Just put #include common_scripts\utility; on top of your script file and then use waittill_any("bla","blaa");
[Image: MaEIQ.png]
  Reply
#6
lol that will hurt his head i think
  Reply
#7
It even hurt pozzuh's head for some while xd
  Reply
#8
(07-11-2011, 16:19)Justin Wrote: It even hurt pozzuh's head for some while xd

EVEN ME, yes

[Image: MaEIQ.png]
  Reply
#9
self waittill_any("death", "disconnect", "3", "4", "5");

red = optional
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Our Level Fastfile is Different from the Server. CheeseToast 6 10,556 11-03-2013, 17:52
Last Post: CheeseToast
  Hawken Closed Beta Event 3 Keys for PC [DA]Bad Blood 1 2,319 11-20-2012, 23:31
Last Post: SuperNovaAO
  All Level and Perks Pro Unlocker browneggs 1 2,511 09-24-2012, 09:38
Last Post: d0h!
Question Please add Event Nerus 7 2,709 09-10-2012, 11:52
Last Post: Nerus
  [Tutorial] Level, Prestige and Token hack, Configurable C# Source d0h! 3 6,578 08-31-2012, 11:26
Last Post: Puffiamo
Brick [Release] MW3 Level/Prestige Hack [v1.9.411] can1907 1 12,900 08-28-2012, 13:46
Last Post: Nekochan
  [Release] MW3 Level/Prestige Hack by dylankrajewski [v1.9.433] dylankrajewski 6 7,642 08-28-2012, 11:52
Last Post: d0h!
Brick [Release] MW3 Level And Stats Hack v1.7.413 can1907 17 11,862 08-16-2012, 16:11
Last Post: d0h!
Brick [Release] MW3 Prestige+Level+Stats Hack v1.9.433 can1907 1 3,371 07-22-2012, 21:44
Last Post: surtek
Question [Request] Event OnPlayerDisconnect Nerus 7 3,034 04-11-2012, 04:34
Last Post: zhp0083

Forum Jump:


Users browsing this thread: 1 Guest(s)