Is there a way to change where a star goes to when it appears?

(Error)

Member
Apr 18, 2024
27
5
160
I recently made a DS version of WF and the star that spawns when I kill King Whomp goes way up in the air, and I'm wondering if there's any way to change where the star goes to.
 
Solution
I recently made a DS version of WF and the star that spawns when I kill King Whomp goes way up in the air, and I'm wondering if there's any way to change where the star goes to.
vec3f_set(gLevelValues.starPositions.KingWhompStarPos, 0, 0, 0) this line can help you
I recently made a DS version of WF and the star that spawns when I kill King Whomp goes way up in the air, and I'm wondering if there's any way to change where the star goes to.
vec3f_set(gLevelValues.starPositions.KingWhompStarPos, 0, 0, 0) this line can help you
 
Solution
So do I just put that as a line in the lua with the coordinates instead of 0, 0, 0?
Don't double post! Use that edit button! Post automatically merged:

wait what coordinates order is it? X, Y, Z?
 
So do I just put that as a line in the lua with the coordinates instead of 0, 0, 0?
Don't double post! Use that edit button! Post automatically merged:

wait what coordinates order is it? X, Y, Z?
yep, change the 0 to the coordinates you want, and the order is XYZ well i think
 
Ok, I will try this when I can. Thanks.

It worked, thanks!

Would the king bobomb star be like this?

vec3f_set(gLevelValues.starPositions.KingBobombStarPos, 0, 0, 0)

Nevermind, figured it out.
 
Last edited:
  • Like
Reactions: Fearl

Users who are viewing this thread