• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Solved ... is @Entity.addtoposition ever work?

J

jianmingyong

Guest
^^
Is @Entity.addtoposition ever work?

I have tested and it seem to remove the entity instead of performing what it suppose to....
 

nilllzz

Original Developer
Administrator
P3D Developer
^^
Is @Entity.addtoposition ever work?

I have tested and it seem to remove the entity instead of performing what it suppose to....
What is the command you are using?
EDIT: The "goldenrod\trainsaffron.dat" file is using that command. Maybe you can copy and use that?
 
J

jianmingyong

Guest
I have an random entity in position 10,0,6 and set the ID as 1.
Then I tried to use:
@Entity.addtoposition(1,11,0,7)

to see what it does... but it seem to remove the entity instead and I can't find it anywhere in the map.
 

nilllzz

Original Developer
Administrator
P3D Developer
I have an random entity in position 10,0,6 and set the ID as 1.
Then I tried to use:
@Entity.addtoposition(1,11,0,7)

to see what it does... but it seem to remove the entity instead and I can't find it anywhere in the map.
That would teleport the entity to 21,0,13.
Did you call a level.update to make sure the entity's new position got applied to the matrix buffer?
 
Top