Post: [Release] How to use X & O in menu :)
05-21-2011, 08:52 AM #1
Karoolus
I'm the W@W Menu Guy !
(adsbygoogle = window.adsbygoogle || []).push({});
    MonitorO()
{
ori_stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != "stand")
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
self SetStance("stand");
wait .3;
}
wait .05;
}
}

MonitorX()
{
ori = self.origin;
for(;Winky Winky
{
new_ori = self.origin;
//self iPrintln(self.origin[2]);
if((new_ori[2] - ori[2]) >= 10)
{
if((new_ori[2] - ori[2]) > 25)
{
self SetOrigin(ori);
}
self notify("Pressed_X");
self iPrintln("You jumped");
wait .3;
}
wait .05;
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Karoolus for this useful post:

Hawkin
05-21-2011, 09:32 AM #2
.Kane.
Banned
Originally posted by Karoolus View Post
    MonitorO()
{
ori_stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != "stand")
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
self SetStance("stand");
wait .3;
}
wait .05;
}
}

MonitorX()
{
ori = self.origin;
for(;Winky Winky
{
new_ori = self.origin;
//self iPrintln(self.origin[2]);
if((new_ori[2] - ori[2]) >= 10)
{
if((new_ori[2] - ori[2]) > 25)
{
self SetOrigin(ori);
}
self notify("Pressed_X");
self iPrintln("You jumped");
wait .3;
}
wait .05;
}
}


:FU:. I don't need X and O in menu. I need dpads.

---------- Post added at 04:17 AM ---------- Previous post was at 04:03 AM ----------

Forgot to say good job lol.

---------- Post added at 04:32 AM ---------- Previous post was at 04:17 AM ----------

Originally posted by Karoolus View Post
    MonitorO()
{
ori_stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != "stand")
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
self SetStance("stand");
wait .3;
}
wait .05;
}
}

MonitorX()
{
ori = self.origin;
for(;Winky Winky
{
new_ori = self.origin;
//self iPrintln(self.origin[2]);
if((new_ori[2] - ori[2]) >= 10)
{
if((new_ori[2] - ori[2]) > 25)
{
self SetOrigin(ori);
}
self notify("Pressed_X");
self iPrintln("You jumped");
wait .3;
}
wait .05;
}
}


This makes me teleport to where I spawned.
05-21-2011, 09:35 AM #3
Karoolus
I'm the W@W Menu Guy !
Originally posted by Kane212
:FU:. I don't need X and O in menu. I need dpads.

---------- Post added at 04:17 AM ---------- Previous post was at 04:03 AM ----------

Forgot to say good job lol.

---------- Post added at 04:32 AM ---------- Previous post was at 04:17 AM ----------



This makes me teleport to where I spawned.


you have to START this thread when opening the menu, not when you spawn.. it's part of a menu system i'm working on..
05-21-2011, 09:37 AM #4
.Kane.
Banned
Originally posted by Karoolus View Post
you have to START this thread when opening the menu, not when you spawn.. it's part of a menu system i'm working on..


I know. I'm not a ****in retard man
05-21-2011, 09:51 AM #5
Karoolus
I'm the W@W Menu Guy !
Originally posted by Kane212
I know. I'm not a ****in retard man


never said you were :p

    MonitorOnGround()
{
for(;Winky Winky
{
if( !self IsOnGround())
{
self notify("pressed_x");
self iPrintln("you jumped");
self thread BackOnGround();
self waittill("on_ground");

}
wait .05;
}
}

BackOnGround()
{
while(!self IsOnGround())
{
wait .02;
}
self notify("on_ground");
self iPrintln("Landed");
}


this should work better Smile

The following 2 users say thank you to Karoolus for this useful post:

.Kane., Skyl1n3
05-22-2011, 11:40 AM #6
.Kane.
Banned
Originally posted by Karoolus View Post
never said you were :p

    MonitorOnGround()
{
for(;Winky Winky
{
if( !self IsOnGround())
{
self notify("pressed_x");
self iPrintln("you jumped");
self thread BackOnGround();
self waittill("on_ground");

}
wait .05;
}
}

BackOnGround()
{
while(!self IsOnGround())
{
wait .02;
}
self notify("on_ground");
self iPrintln("Landed");
}


this should work better Smile


I got X working but your O gives me unknown function.
05-22-2011, 01:47 PM #7
Karoolus
I'm the W@W Menu Guy !
Originally posted by Kane212
I got X working but your O gives me unknown function.


you using that for MP ?
self SetStance doesn't work in MP Smile

i'll edit it real quick.. i'll update in a min Winky Winky

---------- Post added at 03:47 PM ---------- Previous post was at 03:40 PM ----------

    MonitorO()
{
stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != stance)
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
stance = new_stance;
wait .3;
}
wait .05;
}
}


this should work.. only problem i see is this:

when you're crouched & you press X, you'll stand up instead of jump, which'll make it think you pressed O
(you get what i mean ? :p)
05-22-2011, 04:16 PM #8
.Kane.
Banned
Originally posted by Karoolus View Post
you using that for MP ?
self SetStance doesn't work in MP Smile

i'll edit it real quick.. i'll update in a min Winky Winky

---------- Post added at 03:47 PM ---------- Previous post was at 03:40 PM ----------

    MonitorO()
{
stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != stance)
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
stance = new_stance;
wait .3;
}
wait .05;
}
}


this should work.. only problem i see is this:

when you're crouched & you press X, you'll stand up instead of jump, which'll make it think you pressed O
(you get what i mean ? :p)


Yea. Well i'm going to test. I'll quote when done.

---------- Post added at 11:16 AM ---------- Previous post was at 09:29 AM ----------

Originally posted by Karoolus View Post
you using that for MP ?
self SetStance doesn't work in MP Smile

i'll edit it real quick.. i'll update in a min Winky Winky

---------- Post added at 03:47 PM ---------- Previous post was at 03:40 PM ----------

    MonitorO()
{
stance = self GetStance();
for(;Winky Winky
{
new_stance = self GetStance();
if(new_stance != stance)
{
self notify("Pressed_O");
self iPrintln("You Pressed O");
stance = new_stance;
wait .3;
}
wait .05;
}
}


this should work.. only problem i see is this:

when you're crouched & you press X, you'll stand up instead of jump, which'll make it think you pressed O
(you get what i mean ? :p)


It worked but if your crouched and press X then it will exit the menu.

Also I put O as exit menu and X as pick option.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo