Hi there,
i've been tryint to pass a bunch of variables from object to another and im getting in a right mess with it.lol
heres what i tried:
also i tried ;-
First method getting a type mismatch on call to 'YouHaveMail' and i think the second way its giving me types incompatable with '='. Can anyone see what im doing wrong?
Thanks.
i've been tryint to pass a bunch of variables from object to another and im getting in a right mess with it.lol
heres what i tried:
Code:
Class My1Mover extends Mover Placeable; var() bool bpacketSent; var() My2Mover triggernext; struct PacketData { var() Float time1; var() Float time2; var() Float time3; }; Var() PacketData Mypacket; Function YouHaveMail (PacketData IncomingPacket) { Mypacket=IncomingPacket; if (triggernext!=none) TheyHaveMail (); } Function TheyHaveMail () { triggernext.YouHaveMail(Mypacket); bPacketSent=true; }
Code:
Function FD_TheyHaveMail () { triggernext.Mypacket=Mypacket; bPacketSent=true; }
Thanks.
Comment