One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviewsAlso on Rumble: https://rumble.com/c/c-1115371idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa
Started by argoon, September 28, 2017, 04:07:16 PM
0 Members and 1 Guest are viewing this topic.
Quote from: Phrozo on September 28, 2017, 11:14:31 PMIf you can't get the value how do you know you are actually setting it? Neither get or set state functions will inform you if are trying to read or write to a variable that can't be found or doesn't exist. Are you sure your variable can be found?
Quote from: bitterman on September 29, 2017, 03:22:09 AMAFAIK this works like entity -> somegui -> parm. Then parm is for entity, not for gui itself (not sure about pda gui, perhaps the player is that entity).
Quote from: bitterman on September 29, 2017, 05:28:14 AMWell, we can easy get/set entity's keys.Is it necessary to store info about ltem location in gui parm?
Quote from: bitterman on September 30, 2017, 02:49:57 AMI tought about your inventory mod and how to realize it.Can you describe the main algorithm?Let say:1. Allocate window in pda.2. Draw grid, split to units (cells).3. Fill cells with items indexes based on some items inv. parms.4. If receive onAction from window then convert mouse coords to cells.5. Read index (item id) from target cell.6. Do action.Something like this?