This command does not exist. Script.txt lists all commands that are defined... there are no more commands "not yet discovered".Zitat
Original von manfried
Hi,
I'm searching how to check the amount of money a players owns. I'd to like to make a script which would seems like this:
IF PLAYER "SpAlias" MONEY > amount
Is it possible and could you tell me how to do it please?
I don't quite understand what ou mean byZitat
Original von manfried
Well, i juste see a big problem for one of my scenarios:
I'd like to cheat a city to get all the food she needs, so i made this script:
[OBJECT_DEFINE]
OBJECT_STADT "VENISE" 1
[SCRIPT_KERNEL]
IF PLAYER "HUMAN01" WARECOUNT "NAHRUNG" < 50 THEN
{
CHEAT("VENISE", "NAHRUNG", 100);
}
The problem is that my food stock is less that 20 but there's no food going in my stock, i should get 100, or at less more that 50 ! I put 1 for the city ID because it is build on the island first the first id and there's no more city on it. Can you see what's wrong please? If you need more informations tell me want you need and you'll get it
There's no INITBLOC because at this time i don't need it (i tryed to put one to see if it stopped the problem but it didn't)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »drkohler« (20. August 2004, 14:56)
Zitat
Original von manfried
i thought the city id was the same that the island id, but seeing what drkohler wrote i think that the city on the island number 1 has a id = 0. Changing with OBJECT_STADT "VENISE" 0 the script works.