Not logged inOpenClonk Forum
Up Topic General / Help and Questions / Contact_ func with parameters
- - By Kandif [pl] Date 2012-12-19 17:13
Can i write func Contact_ with parameters x or y ?

for example
protected func ContactLeft(x)
Parent - - By Zapper [de] Date 2012-12-19 18:22
What is that supposed to do? :)

ContactLeft(appletree)!
Parent - - By Kandif [pl] Date 2012-12-19 20:28
I thought that this is can be for :

ContactBottom(x){

if(x<100){
do sth
}
if(x>100){
do sth other
}

SetYDir(-50);

}
Parent - By Zapper [de] Date 2012-12-19 21:21
What is x supposed to  be? :)
The position or the speed?
You could use GetX() or GetXDir() for that
Up Topic General / Help and Questions / Contact_ func with parameters

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill