1. Are keyboard commands ( ie: IsKeyDown or self.key_pressed ) only possible in LowLevel ?
2. Is it possible to patrol form point to point in LowLevel?
3. Is it possible in either HL or LL to control the speed of a patroling pawn with the keyboard.
3 questions
Re: 3 questions
Yes, but actually, no. The trick, is to use another pawn, that is in LowLevel. Add a dummy projectile pawn(no render, no collision), and set it's szEntityName to, say, "keyboard". Now, in your pawn that's running HighLevel, you can do this:1. Are keyboard commands ( ie: IsKeyDown or self.key_pressed ) only possible in LowLevel ?
Code: Select all
SomeOrder[()
{
if keyboard.IsKeyDown(key_number)
{
// do some stuff
}
}]
"So, what's the life of a programmer like?" "...Huh? What life?!"
RF System X:
http://www.realityfactory.info/forum/vi ... f=9&t=3599
RF System X:
http://www.realityfactory.info/forum/vi ... f=9&t=3599