Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004472Zandronum[All Projects] Suggestionpublic2025-03-23 14:182025-04-11 16:52
Reporterauratoostronk 
Assigned To 
PrioritylowSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004472: Add ACS Clientside functions in addition to clientside scripts
DescriptionRequesting a feature that allows doing the following (if possible and if practical)

function void myClientsideFunction(str text, int i, int j) CLIENTSIDE
{
     HUDMessage(s:text; HUDMSG_PLAIN, 0, CR_RED, i, j, 3.0, 0.075);
}
Attached Files

- Relationships

-  Notes
User avatar (0024305)
Ru5tK1ng (updater)
2025-03-24 03:30

If you call the function from within a clientside script, the scope of the function should also be clientside. Is there a specific use case where this isn't possible or doesn't work? Example wad?
User avatar (0024375)
IlyStr (reporter)
2025-03-31 19:17

Ru5tK1ng I think that he wanted to make certain functions can be called by the server and executed in client's side and return a value to the server, but then it's necessary to implement something like interfaces from C# where the first argument is the client.
User avatar (0024376)
IlyStr (reporter)
2025-03-31 19:22

Actually makes sense, maybe it will be more optimized than a chain of scripts that pass values to each other, but also it's necessary to add a timeout argument in ticks or milliseconds
User avatar (0024383)
auratoostronk (reporter)
2025-04-05 10:11

I'd like to be able to call functions from the server and execute them on the client, for situations like HUDMessages. A script version of the function above wouldn't work because ACS scripts do not allow strings as arguments.
User avatar (0024427)
DrinkyBird (developer)
2025-04-11 16:52

You can use'https://wiki.zandronum.com/SendNetworkString [^]' for that.

Or just the HudMessage function, which sends down the message only to the activating client.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2025-03-23 14:18 auratoostronk New Issue
2025-03-24 00:54 DrinkyBird Product Version 4.0-beta =>
2025-03-24 03:30 Ru5tK1ng Note Added: 0024305
2025-03-31 19:17 IlyStr Note Added: 0024375
2025-03-31 19:22 IlyStr Note Added: 0024376
2025-04-05 10:11 auratoostronk Note Added: 0024383
2025-04-11 16:52 DrinkyBird Note Added: 0024427






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker