RESEARCHSTAT -> human-readable
RESEARCHSTAT -> human-readable
How to convert a variable of type RESEARCHSTAT to a human-readable string?
For example, suppose a RESEARCHSTAT variable contains R-Sys-Engineering01 in it. I'm looking for a funtion that will understand that the player knows this research as "Engineering" and returns this as a string.
For example, suppose a RESEARCHSTAT variable contains R-Sys-Engineering01 in it. I'm looking for a funtion that will understand that the player knows this research as "Engineering" and returns this as a string.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: RESEARCHSTAT -> human-readable
IIRC Iluvalar has compiled a list himself... sorry, I don't have a link
This is why some features aren't implemented: http://forums.wz2100.net/viewtopic.php?f=30&t=7490&view=unread#p87241
Re: RESEARCHSTAT -> human-readable
You mean from a script? There currently does not seem to be support for this.
Re: RESEARCHSTAT -> human-readable
Ok i'll try contacting Iluvalar.
Also, how artifact messages are made? Are those "you discovered an artifact for _____" messages hard-coded?
Also, how artifact messages are made? Are those "you discovered an artifact for _____" messages hard-coded?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: RESEARCHSTAT -> human-readable
Yeah artifact are hardcoded and i tought you were talking about script so I didn't talk to you about /messages/strings/names.txt .
Heretic 2.3 improver and proud of it.
Re: RESEARCHSTAT -> human-readable
Hmm i *am* talking about scripts. What else can i be talking about?
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: RESEARCHSTAT -> human-readable
↑Per wrote:You mean from a script? There currently does not seem to be support for this.
Heretic 2.3 improver and proud of it.
- milo christiansen
- Regular
- Posts: 749
- Joined: 02 Jun 2009, 21:23
- Location: Perrinton Michigan
Re: RESEARCHSTAT -> human-readable
Well I'm sure you could somehow use a big if chain, that is if you didn't mind it breaking as soon as something changed
Not entirely sure if its possible but if I remember there's a callback that fires when research is completed which may be helpful
Not entirely sure if its possible but if I remember there's a callback that fires when research is completed which may be helpful
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
- Demigod Game Ganual