You could use something like this, I am assuming "Speed" is a float...
If this is the only kismet object you need from your playercontroller, I believe you can find the SequenceVariable subclass with your FindSeqObjectsByClass, to remove excess lines. Something more like:
var SequenceVariable A;
var int i, Index;
var Sequence GameSeq;
var array<SequenceObject> AllSeqOBJs;
var string NAMEofA;
GameSeq = WorldInfo.GetGameSequence();
if(GameSeq != None)
GameSeq.FindSeqObjectsByClass(class'SequenceVariable', true, AllSeqOBJs);
for(i=0; i<AllSeqOBJs.Length; i++)
Index = i;
if (Index != INDEX_NONE)
NAMEofA = string(A.Name);
if (NAMEofA == "Speed")
if (A.Float != 12345)
loginternal("Speed: " @ A.Float);
A.Float=9001; //yes. that's the joke.
var SeqVar_Float A; ...
GameSeq.FindSeqObjectsByClass(class'SeqVar_Float', true, AllSeqOBJs); ...
You would still want to find it by name if you have other floats in your kismet, and there may be a shorter way to compare the name than what I use...
Just what is it you are doing, by the way?