[SOLVED] On platform altitude problem (won't set altitude)

White Dragon

New member
I a chara is on a Platform you can't set altitude anymore.
Maybe for new code changes in openbor.c

For example if I on a Platform and I set getentityproperty(self, "position", NULL(), NULL(), 70);
chara "a" returns to be like the base.
Changing base trick doesn't work (neither  "no_adjust_base" trick).

There's a way?
 
Yeah, now entities on platform won't leave until it "jumps".
Perhaps you can try velocity to simulate a jump with a small enough value.

getentityproperty(self, "position", NULL(), NULL(), 70);
BTW, I think you mean changeentityproperty?
 
In theory changeentityproperty(self, "velocity", NULL(), NULL(), 0.0001) should work.

Are you sure 70 is above the platform?
 
utunnels said:
In theory changeentityproperty(self, "velocity", NULL(), NULL(), 0.0001) should work.

Are you sure 70 is above the platform?
Ok thanks solved with changeentityproperty(self, "velocity", NULL(), NULL(), 0.01);
Unfortunately this my code works on playerkey == attack (not hold).
Thanks utunnels!! Forever a legend!!
 
Maybe I should disconnect them if the distance is long enough. But I'm not sure how big the value should be so I decide to leave it as it was.
 
utunnels said:
Maybe I should disconnect them if the distance is long enough. But I'm not sure how big the value should be so I decide to leave it as it was.

Mmm... maybe to operate with gep(self, "position", ...) you should disconnect the platform. Maybe if (platform_a+platform_height+threshold (micro) < entity_a) then disconnect the platform.
Not sure but it might work...
 
Back
Top Bottom