Sometimes it seems to update, but only once, despite trying many times & putting it on timers, etc.
I can, however, get properties properly.
EDIT: Just to clarify, this was done in a client side script
EDIT: I did try the width property too, but no others besides start and end.
EDIT: I should've expected this. I think I read somewhere that these don't work. If absolutely nothing can be done, I'll just make another fx. All I'm trying to do is have beam points follow the center of a monster, not the origin
EDIT again: The script provided is a snippet of the fx, it should beam from the center of START_IDX then spin the end position around it in a circle. I did this just to test if it was even working.
I can, however, get properties properly.
Code:
{ effect_beam_point_update //Called every frame
callevent resolve_positions
//infomsg all $getcl_beam(BEAM_ID,end) $getcl_beam(BEAM_ID,width)
//Appears to be able to get properties properly
//Tried on timer, in separate event, without quotes
cleffect beam_update BEAM_ID "start" START_POS
cleffect beam_update BEAM_ID "end" END_POS
}
{ resolve_positions //Will get the new positions for the tempents to go
add TEST_ANG 2
setvard START_POS $getcl(START_IDX,origin)
vectoradd START_POS $relpos($getcl(START_IDX,angles),START_OFFS) //Adds the position relative to the angle
//setvard END_POS $getcl(END_IDX,origin)
//vectoradd END_POS $relpos($getcl(END_IDX,angles),END_OFFS)
//TESTANGS
setvard END_POS $getcl(START_IDX,origin)
vectoradd END_POS $relpos($vec(0,TEST_ANG,0),$vec(0,50,0))
}
EDIT: Just to clarify, this was done in a client side script
EDIT: I did try the width property too, but no others besides start and end.
EDIT: I should've expected this. I think I read somewhere that these don't work. If absolutely nothing can be done, I'll just make another fx. All I'm trying to do is have beam points follow the center of a monster, not the origin
EDIT again: The script provided is a snippet of the fx, it should beam from the center of START_IDX then spin the end position around it in a circle. I did this just to test if it was even working.
Last edited: