Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002848Zandronum[All Projects] Suggestionpublic2016-10-02 19:572016-10-02 21:05
Reporterfr-blood 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0-beta 
Target VersionFixed in Version 
Summary0002848: GetUserCVar ignores "user" types of cvars
DescriptionI've some scripts which check if the player is agree or not to start the map introduction, he can dedice of it with this "user bool afd_mapstart = TRUE;"

The script:
Script 1 ENTER
{// Map Information
GiveInventory("SpecialMap",1);
if(GetUserCVar(PlayerNumber(),"afd_mapstart") == TRUE)
{
    SetPlayerProperty(0,1,PROP_TOTALLYFROZEN);
    FadeTo(0,0,0,1.0,1.0);
    SetFont("BIGFONT");
    Information("Thursday 14th October 2257","Nemezis, UAC Outpost Post B-411","Sergeant","Defend the post");
    Delay(35*8);
    FadeTo(255,255,255,0.0,2.0);
    SetPlayerProperty(0,0,PROP_TOTALLYFROZEN);
}
delay(35*5);
MapName("\ciOutpost Under Attack","\cgBlood");
}

The map introduction will still happen even if the player turned it off online.
Attached Files

- Relationships
duplicate of 0002674closedDusk GetUserCVar doesn't work as it's supposed to, missing functionality. 

-  Notes
User avatar (0015735)
fr-blood (reporter)
2016-10-02 20:01

Oh sorry I didn't see that someone just posted about that problem, just delete that ticket.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-10-02 19:57 fr-blood New Issue
2016-10-02 20:01 fr-blood Note Added: 0015735
2016-10-02 21:05 Edward-san Status new => closed
2016-10-02 21:05 Edward-san Resolution open => duplicate
2016-10-02 21:05 Edward-san Relationship added duplicate of 0002674






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker