[DiscordArchive] <@200677690838220800> ?
[DiscordArchive] <@200677690838220800> ?
![[Image: image.png?ex=690c537f&is=690b01ff&hm=99c...3faeade85&]](https://cdn.discordapp.com/attachments/376457124726702080/1198354124132069547/image.png?ex=690c537f&is=690b01ff&hm=99c109f579d69c889168a08b10e7298f1abe4f290413d99e296dcee3faeade85&)
Archived author: Malcrom • Posted: 2024-01-20T19:51:27.591000+00:00
Original source
<@200677690838220800> ?
![[Image: image.png?ex=690c537f&is=690b01ff&hm=99c...3faeade85&]](https://cdn.discordapp.com/attachments/376457124726702080/1198354124132069547/image.png?ex=690c537f&is=690b01ff&hm=99c109f579d69c889168a08b10e7298f1abe4f290413d99e296dcee3faeade85&)
Archived author: Tea • Posted: 2024-01-20T19:52:01.035000+00:00
Original source
no, dont SendCastResult at all
Archived author: Tea • Posted: 2024-01-20T19:52:06.653000+00:00
Original source
just return what you want to be sent
Archived author: Malcrom • Posted: 2024-01-20T19:52:35.470000+00:00
Original source
I copied another script lol
![[Image: image.png?ex=690c541f&is=690b029f&hm=47e...06170f79a&]](https://cdn.discordapp.com/attachments/376457124726702080/1198354794784509972/image.png?ex=690c541f&is=690b029f&hm=47e44be0a9c92b6538374366ea6c1490b945b96aa534ecd0526bd0b06170f79a&)
Archived author: Malcrom • Posted: 2024-01-20T19:54:07.478000+00:00
Original source
![[Image: image.png?ex=690c541f&is=690b029f&hm=47e...06170f79a&]](https://cdn.discordapp.com/attachments/376457124726702080/1198354794784509972/image.png?ex=690c541f&is=690b029f&hm=47e44be0a9c92b6538374366ea6c1490b945b96aa534ecd0526bd0b06170f79a&)
Archived author: Malcrom • Posted: 2024-01-20T19:54:59.541000+00:00
Original source
that's wrong too
Archived author: Malcrom • Posted: 2024-01-20T19:55:07.050000+00:00
Original source
if player is selected
Archived author: Tea • Posted: 2024-01-20T19:55:07.642000+00:00
Original source
those other scripts you copied from only had SendCastResult because the spell was cast by gameobjects
Archived author: Tea • Posted: 2024-01-20T19:55:54.495000+00:00
Original source
you need to always return something from that function (this wont compile)
Archived author: Malcrom • Posted: 2024-01-20T19:58:15.378000+00:00
Original source
I need to check failed cast for no target