Hello community, I come to bother with one or two questions, I have a problem with this script,I need that when the player picks up the object, the object directly go to the player regardless of their location. The script that I use.
[/:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\keys1.dds,hudname=key,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40,mousestate=1:moveup=10,moveback=20,nogravity,spinrate=10,plrfreeze=500,etimerstart,state=4
:state=4,etimergreater=500:playertake,coloff,plrsound=audiobank\Nueva carpeta\Keys.wav,hudshow=key,activateifused=1]
The idea works well, but if the player collects the object in a location other than face the object does not follow.
Use other commands: associateplayer, followplr, but seems not to work.
The second question, is there any way to make a decal follow an object?
Use a script, I provide the ncmako colleague, but apparently only works on characters.
to follow:
[/:Nearactivatable=0:setTarget,activatetarget=2]
follow:
[/:activated=2:waypointstop,settargetname=object,state=2
:state=2:rotatetotarget
:state=2:animate=2,movetotarget=2,state=0]
Below is a video sample.
https://www.youtube.com/watch?v=lRLmrP14JGQ
I hope my attempt to understand English.Thank You