I just started scripting this week and this is obviously very basic but I've spent 5 hours googling and tying to work this out and I'm getting nowhere.
Basically I'm trying to give variables a new value and it just isn't working. I want a creature to run to a waypoint when the PC gets close to it (which I have done) and then run to another point when the PC approaches again. Im using the UT_QuickMoveObject function and replacing the tag with a string variable, but after calling the function and trying to reassign the value of the variable, it doesnt change. I have confirmed this using floaty messages and tried rearranging and structuring the script many different ways.
I'm obviously missing something very basic here, is anyone able to give me a point in the right direction?
Any help much appreciated





Retour en haut






