Zungen
Squire
posted 05-18-20 11:52 AM CT (US)
So, let's say I want player A ask player B to pay tribute every so and so minutes.
(chat-to-player 1 "Give me 100 gold in the next 20 minutes.")
No biggie, right?
Say I want to use ensemble strings.
(chat-to-player-using-id 1 2307)
with string 2307 being
"Tribute %d gold to me or you will be destroyed!"
Now, how does that %d work? It surely wouldn't be(chat-to-player-using-id 1 2307,100)
right?
How about when I have free parameters for both player and an integer, like "%s paid %d wood in tribute to you."?
%s and %d sound exactly like C printf()
Copyright © 1997–2024 HeavenGames LLC. All rights reserved.
v2.5.0