The6thMessenger Posted June 17, 2016 Share Posted June 17, 2016 How do you compare actor values? ActorValue Property MyLimitActorValue Property MySpeed Float Speed = Game.GetPlayer().GetValue(MySpeed) Float Limit = Game.GetPlayer().GetValue(MyLimit) If (Limit >= Speed) Endif The code above don't work, what would work? Link to comment Share on other sites More sharing options...
Ashnal Posted June 17, 2016 Share Posted June 17, 2016 Does your Actor actually have those ActorValues in the CK? Did you link them to the properties in the CK? Link to comment Share on other sites More sharing options...
The6thMessenger Posted June 17, 2016 Author Share Posted June 17, 2016 Yes, i have them linked. I couldn't just translate those Actor values into something i could get comparison with. Link to comment Share on other sites More sharing options...
The6thMessenger Posted June 17, 2016 Author Share Posted June 17, 2016 Nevermind, made i made it work now! Link to comment Share on other sites More sharing options...
Ashnal Posted June 17, 2016 Share Posted June 17, 2016 Yes, i have them linked. I couldn't just translate those Actor values into something i could get comparison with.So I guess I'm wondering, how is MySpeed set up? You can't just create a MySpeed ActorValue and expect it to be updated by the game automatically. You'd have to update it via script. Link to comment Share on other sites More sharing options...
Recommended Posts