Jump to content

Scripting Help? Comparing Actor Value


The6thMessenger

Recommended Posts

How do you compare actor values?

 

ActorValue Property MyLimit
ActorValue 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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...