Cxwh
Veteran
- Messages
- 64
- Reaction score
- 45
- Points
- 793
Is there any way to get something like this to work?
Code:
function monitorButtons()
{
test = &testButton;
for(;;)
{
if(test)
self iPrintln("^1test");
wait 0.05;
}
}
function testButton()
{
//level.players[0] since you cant pass args
return level.players[0] jumpButtonPressed();
}
//ik it gets used like self [[ &testButton ]](); (i mean function pointers)
//just askin if something like this could work?
Last edited: