-
Content Count
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by fTakano
-
How can i get the CHAR_ID_CHAR for all players in a map?
fTakano replied to sfosodkw2's question in Script Support
You can use the script command getunits(). -
First, you need to set a variable for the F_Rand(). .@Item = F_Rand(656, 657, 505, 645, 506, 14510); getitem .@Item, rand(1,1); announce "[Rika] : "+strcharinfo(PC_NAME)+" get "+getitemname(.@Item)+".",bc_all;
-
You need a parameter inside the `getitemname` script command. e.g. getitemname(Red_Potion) will show "Red Potion".