Set entity position in PureBasic

Started by Pfaber11, November 19, 2019, 21:13:41

Previous topic - Next topic

Pfaber11

How do I set the entity position in PureBasic . I'm looking for the equivalent of set object  position in AGK2 .  Tried everything I can think of and still haven't accomplished it . Any  help would be good . Thanks for reading .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Coder Apprentice

I would say use MoveEntity(). What did you try so far and what was the problem exactly?

Derron

I googled "purebasic entity position" ... first hit was (for me) a German documentation entry about "EntityY" in purebasic - with only 3 other commands being referenced as "SeeAlso":
EntityX(), EntityZ(), MoveEntity()


Think live's hard sometimes.


bye
Ron

Pfaber11

#3
It turned out to be moveentity(6,,x,y,z,#pb_absolute).
It was the mode at the end I was not putting in . Changes what it does.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz