• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Firefield appearing only for a specific groupID

Shaykie2

New Member
Joined
Dec 21, 2018
Messages
17
Reaction score
0
What I need is a way for a FireField to appear only for Tutors (for example) and not for anyone else, and for this not to happen with all FireFields, but only with some with a "flag" (I don't know which flag I could use).

I would really like a solution via Source, without having to use something via LUA. I even managed to make it not appear as soon as the FireField is launched, but when I exit and return to the screen it reappears.

Thank you very much in advance!
 
so basically he wants an item to be invisible for players but visible for gamemasters.

why not make a normal tile with actionid and properties of fire field?
 
Which engine source you use
TFS 1.6, last available for download on github.
Post automatically merged:

so basically he wants an item to be invisible for players but visible for gamemasters.

why not make a normal tile with actionid and properties of fire field?
I would like to try a cleaner route, something that shows or hides in a cleaner way.
 
TFS 1.6, last available for download on github.
Post automatically merged:


I would like to try a cleaner route, something that shows or hides in a cleaner way.
well its upto you what you send into the game window :)
I would recommend creating a new attribute inside of the item and then only sending that item in packet if players group is matching and his group access is correct however this will still deal damage to the player anyways because its there in the game.
if you actually present us with a use case for this it would make more sense otherwise its like shooting a duck in a barrel.
 
Back
Top