نقل قول:
class AquaPlayerControllerBase extends playercontroller;
// Trigger remote events in Kismet with the name passed in
// This allows easy code access to trigger kismet events without having to bother
// with making new SequenceActions and Events
function TriggerRemoteKismetEvent( name EventName )
{
local array<SequenceObject> AllSeqEvents;
local Sequence GameSeq;
local int i;
GameSeq = WorldInfo.GetGameSequence();
if (GameSeq != None)
{
// reset the game sequence
GameSeq.Reset();
// find any Level Reset events that exist
GameSeq.FindSeqObjectsByClass(class'SeqEvent_Remot eEvent', true, AllSeqEvents);
// activate them
for (i = 0; i < AllSeqEvents.Length; i++)
{
if(SeqEvent_RemoteEvent(AllSeqEvents[i]).EventName == EventName)
SeqEvent_RemoteEvent(AllSeqEvents[i]).CheckActivate(WorldInfo, None);
}
}
}
DefaultProperties
{
}
من هیچی از این قسمت کد Whizzle نفهمیدم ! خواهشا اساتید کمک کنید که کارم گیره ! :41: