[DiscordArchive] "return rEntry ? rEntry->FactionID : 0;"?
[DiscordArchive] "return rEntry ? rEntry->FactionID : 0;"?
Archived author: Snowcraft • Posted: 2023-05-20T13:28:46.168000+00:00
Original source
Okay, so?
Archived author: M'Dic • Posted: 2023-05-20T13:30:32.142000+00:00
Original source
If it is cross faction. Then either make a if custom return
Archived author: M'Dic • Posted: 2023-05-20T13:30:42.421000+00:00
Original source
Or modify the faction id of the race
Archived author: M'Dic • Posted: 2023-05-20T13:31:00.109000+00:00
Original source
But tbh. I have no ckue the extent of cross factioning u are wanting to do
Archived author: Snowcraft • Posted: 2023-05-20T13:31:20.773000+00:00
Original source
I want to be able to res members of the other faction.
Archived author: Snowcraft • Posted: 2023-05-20T13:31:41.077000+00:00
Original source
And how would I even make it an if return?
![[Image: image0.png?ex=690bfab9&is=690aa939&hm=5b...8ff538842&]](https://cdn.discordapp.com/attachments/376457042392514560/1109473779144470589/image0.png?ex=690bfab9&is=690aa939&hm=5b2d97258786b65bbed6159e8ddeb8e32152bc48e149fd5652cb6e18ff538842&)
Archived author: M'Dic • Posted: 2023-05-20T13:32:42.016000+00:00
Original source
![[Image: image0.png?ex=690bfab9&is=690aa939&hm=5b...8ff538842&]](https://cdn.discordapp.com/attachments/376457042392514560/1109473779144470589/image0.png?ex=690bfab9&is=690aa939&hm=5b2d97258786b65bbed6159e8ddeb8e32152bc48e149fd5652cb6e18ff538842&)
Archived author: M'Dic • Posted: 2023-05-20T13:34:02.071000+00:00
Original source
If (conditions)
{
return whatever for cross faction
}
else
return rEntry ? rEntry->FactionID : 0;
Archived author: Snowcraft • Posted: 2023-05-20T13:34:37.782000+00:00
Original source
Okay.
Archived author: Snowcraft • Posted: 2023-05-20T13:34:49.140000+00:00
Original source
That doesn't really tell me how I'd make it work cross-faction though.