- Code: Select all
foreach allactors(class'DeusExLevelInfo',info)
MapName=Info.MapName;
apparently its not working for me
![Sad :(](./images/smilies/icon_sad.gif)
Also, i want some fars, vectors, to show up in Advanced options.
i have this in the .int:
- Code: Select all
Preferences=(Caption="Portal Settings",Parent="Advanced Options",Class=Portalv1.PortalController,Immediate=True)
and some of the vars show up well but there are others, related to a portal spawner that im making, that all read zeroed out. heres the code for the controller:
- Code: Select all
class PortalController extends actor config (Portal);
var config bool bLimitedPortalNumbers;
var config int MaxPortals;
var config bool bAllowSummon;
var config bool bMakeSound;
struct MapOne
{
var config vector portalLocations[20];
var config String MapName;
};
var config MapOne Map1;
struct MapTwo
{
var config vector portalLocations[20];
var config String MapName;
};
var config MapTwo Map2;
struct MapThree
{
var config vector portalLocations[20];
var config String MapName;
};
var config MapThree Map3;
struct MapFour
{
var config vector portalLocations[20];
var config String MapName;
};
var config MapFour Map4;
struct MapFive
{
var config vector portalLocations[20];
var config String MapName;
};
var config MapFive Map5;
The Struct formation appears no problem, but theres no info even when the .ini has the settings in it.
Sorry for the length.
ALSO...
i have serveractors=Portalv1.PortalSpawner in my DX.ini but this actor doesn't get spawned in the game? if i do killall for the spawner, says its not even on the server, and if i summon it ingame, then it works fine??