View Issue Details

IDProjectCategoryView StatusLast Update
0003300The Dark ModScript/Defpublic22.07.2018 08:45
ReporterObsttorte Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionopen 
Product VersionTDM 1.08 
Summary0003300: It is not possible to get the gui used by a specific gui entity via a script function
DescriptionThere seem to be no function that allows you to receive the gui handle of a gui entity to change the appearence of that gui later on (for example the map).

Having such a feature would make it a lot more handy to create auto-maps.
TagsNo tags attached.
Attached Files
guiaccess.zip (1,472 bytes)

Activities

tels

tels

26.01.2013 10:50

reporter   ~0005028

Can you please attach a small demo map with an empty function that comments what you want to do in it?

e.g. something like this?

void mychange(entity e)
  {
  float gui;
  // gui = e.getGUIHandle("foo")? or how exactly the call should look like
  // gui.callWhatever()?
  }
Obsttorte

Obsttorte

26.01.2013 17:31

developer   ~0005029

Uploaded an example. This zip file contains a def, a gui and the script file. The readme explains what I'm actually aiming for.
Obsttorte

Obsttorte

22.07.2018 08:44

developer   ~0010723

I'll close this issue, as the requested script function is not necessary anymore and may not be possible to implement anyways, as one entity might have more then just one gui attached to it.

Issue History

Date Modified Username Field Change
24.01.2013 09:47 Obsttorte New Issue
25.01.2013 14:03 Springheel Project DarkRadiant => The Dark Mod
25.01.2013 14:03 Springheel Category Scripting => General
26.01.2013 10:50 tels Note Added: 0005028
26.01.2013 10:50 tels Category General => Script/Def
26.01.2013 10:50 tels Product Version 1.7.2 => TDM 1.08
26.01.2013 12:58 tels Assigned To => tels
26.01.2013 12:58 tels Status new => feedback
26.01.2013 17:30 Obsttorte File Added: guiaccess.zip
26.01.2013 17:31 Obsttorte Note Added: 0005029
26.01.2013 17:31 Obsttorte Status feedback => assigned
15.05.2013 15:26 tels Assigned To tels =>
03.06.2013 02:22 grayman Assigned To => grayman
03.06.2013 02:22 grayman Status assigned => new
03.06.2013 02:22 grayman Assigned To grayman =>
22.07.2018 08:44 Obsttorte Note Added: 0010723
22.07.2018 08:45 Obsttorte Status new => closed