Author Topic: Event Request: IfGasMask  (Read 3454 times)

Okay, so we've got a pretty cool gasmask item and chemical grenade- I mean, check that stuff out; I love it.

But what I think we need is a variable or event: IfGasMask

Think about it, this'd be pretty cool.

(Line 0) OnPlayerTouch->IfGasMask [on/off]->Player->AddHealth [-25]
(Line 1) OnPlayerTouch->IfGasmask [on/off]->Client->BottomPrint [<color:ffffff>There are toxic fumes here! You should leave!]
(Line 2) OnPlayerTouch->IfGasMask [on/off]->Client->BottomPrint [<color:ffffff>There are toxic fumes here, but your gasmask is protecting you.]

Now, I know nothing about scripting and how events work so this may or may not sound stupid...

But I think it could add a new level to roleplays, or deathmatches. To be honest I specifically want this for the Bluzone. I can't constantly spawn Chemical Grenade explosions due to the ear rape and the fact it'd kill your framerate, you know.

So, anyone up to it?

 :cookieMonster:
« Last Edit: June 11, 2012, 01:23:58 AM by Kniaz »

support, this could let you simulate built gasses.

"I know nothing about scripting"

you made a playertype, tweaked numerous things, and other stuff

know nothing my ass

Well it sounds interesting. Hope to see it in the Bluzone.

ok done, mind getting on the server and testing it?

"I know nothing about scripting"

you made a playertype, tweaked numerous things, and other stuff

*know nothing about scripting events

 :cookieMonster:

A VCE extension would be nice.

<var:player:equipped> and <var:player:wearing>

A VCE extension would be nice.

<var:player:equipped> and <var:player:wearing>
I was considering this, but I know nothing about them.

onTalkedTo > Self > ifValue > <var:player:wearing> == nothing
onVariableTrue > Player > loveyTime

i support this. knowing nothing of scripting....but this is not a bad idea....

"I know nothing about scripting"

you made a playertype, tweaked numerous things, and other stuff

know nothing my ass
Playertypes don't require any scripting knowledge.

Playertypes don't require any scripting knowledge.
true...

Playertypes don't require any scripting knowledge.

Yes they do.

Yes they do.
You are reading plain text English variable names that are mostly self-explanatory and modifying numbers or short strings of characters. Anyone can do that. I don't know any Torque Script and I can do it.

You are reading plain text English variable names that are mostly self-explanatory and modifying numbers or short strings of characters. Anyone can do that. I don't know any Torque Script and I can do it.

Understanding how to tab properly, where the value in variable assignment is, knowing that ; is required for statement-type variable assignments and such other things playertype editing involves, you already know several TorqueScript concepts.