.::[Tutorial/FAQ]::.

darkened-angel

Member!
Joined
Sep 10, 2003
Messages
52
Reaction score
0
Website
Visit site
quote:
--------------------------------------------------------------------------------
When p1 types - "-say ***" it would display for all other players *** says *** and depending on what their unit is it would display something different for the *** says
--------------------------------------------------------------------------------
but the normal text still shows up so if bob says - hello and he the chat thief it goes
bob: -hello
then
Thief:hello
i want so if bob say -hello it say Thief:hello
and i don't know if their is clear message command and the bad thing about it is their is one then it will eare other peoples msg when u turn it on help me please.
and thank for trying to help me so far :p.
 

Wind_of_Death

Member
Joined
Nov 6, 2003
Messages
14
Reaction score
0
Website
Visit site
--------------------------------------------------------------------------------
When p1 types - "-say ***" it would display for all other players *** says *** and depending on what their unit is it would display something different for the *** says
--------------------------------------------------------------------------------
but the normal text still shows up so if bob says - hello and he the chat thief it goes
bob: -hello
then
Thief:hello
i want so if bob say -hello it say Thief:hello
and i don't know if their is clear message command and the bad thing about it is their is one then it will eare other peoples msg when u turn it on help me please.
and thank for trying to help me so far .
just a sujestion, i dont know for sure but i thinks theres a trigger that mutes what a player says. Perhaps u can mute what player "bob" says but ur other trigger "theif" will still be heard?

just a thought
 

darkened-angel

Member!
Joined
Sep 10, 2003
Messages
52
Reaction score
0
Website
Visit site
Originally posted by Wind_of_Death
just a sujestion, i dont know for sure but i thinks theres a trigger that mutes what a player says. Perhaps u can mute what player "bob" says but ur other trigger "theif" will still be heard?

just a thought
ok i will try that if it works that would rock that man.
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Originally posted by darkened-angel
quote:
--------------------------------------------------------------------------------
When p1 types - "-say ***" it would display for all other players *** says *** and depending on what their unit is it would display something different for the *** says
--------------------------------------------------------------------------------
but the normal text still shows up so if bob says - hello and he the chat thief it goes
bob: -hello
then
Thief:hello
i want so if bob say -hello it say Thief:hello
and i don't know if their is clear message command and the bad thing about it is their is one then it will eare other peoples msg when u turn it on help me please.
and thank for trying to help me so far :p.
What your asking is not possile with the current editor.

Basically, as what i can tell your saying if me, Empire-Cruncham, hits enter, types 'Hello', and hits enter again, it'll say Theif: Sup guys instead of Empire-Cruncha: Sup guys.

If that's all well and dandy no, it's not possible, as far as I know. If anyone knows how to do this then cool, that helps a lot.

-Frank :cool:
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
What he means is this (i also want to know how)

You select a unit for example (you have a peon, you select it)

You type: "<enter> I am the super peon! <enter> "

Then suddenly, NOT where normal text appears, but in the background area i think, this appears:

Peon: I am the super peon!

how u do that? (is it like 'text - show'?)

Also, i need to know how to detect what someone types like:

if they type "spawn 01 peasant" is it possible to make it spawn 1 peasant, without me making 10 million triggers 1 for each unit?
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
Well, that CAN be done, I think, and it is done using 'Unit-PLayer Selects A Unit-' and the text message. Also it would probably involce Game-Display Text message <Explicitly Timed>

-Frank :cool:
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
So what your saying is i should do this:

variable 1 = null
variable 2 = null

Events-
Player-chat message
- Player 1 (red) types a chat message containing \ as an exact match
Conditions-
None
Actions-
set variable 1 = (name of unit currently selected)
set variable 2 = last displayed chat message
display text for all players showing = variable1, (remove\ somehow) and variable 2
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
I suppose you could do that, I'm not even sure, never had to use, nor do I ever think I will..

-Frank :cool:
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
arg fools! it always takes some1 as skilled as me... oh well your lucky im here to do these things for you :p

RP Chat
Events
Player - Player 1 (Red) types a chat message containing = as A substring
Player - Player 2 (Blue) types a chat message containing = as A substring
Player - Player 3 (Teal) types a chat message containing = as A substring
Player - Player 4 (Purple) types a chat message containing = as A substring
Player - Player 5 (Yellow) types a chat message containing = as A substring
Conditions
Actions
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to (Triggering player)
Then - Actions
Game - Display to (All players) for 30.00 seconds the text: ((|c009A0000 + (Name of (Picked unit))) + :)|r + ( + (Substring((Entered chat string), 2, 200)))))
Else - Actions
Do nothing
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
use this instead (it checks if = is in the front not just anywhere in the chat)

RP Chat
Events
Player - Player 1 (Red) types a chat message containing = as A substring
Player - Player 2 (Blue) types a chat message containing = as A substring
Player - Player 3 (Teal) types a chat message containing = as A substring
Player - Player 4 (Purple) types a chat message containing = as A substring
Player - Player 5 (Yellow) types a chat message containing = as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Substring((Entered chat string), 1, 1)) Equal to =
Then - Actions
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Picked unit)) Equal to (Triggering player)
Then - Actions
Game - Display to (All players) for 30.00 seconds the text: ((|c009A0000 + (Name of (Picked unit))) + :)|r + ( + (Substring((Entered chat string), 2, 200)))))
Else - Actions
Do nothing
Else - Actions
Do nothing




by the way its basically: =hi and if u have a peon selected then it becomes Peon: Hi
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
I'll figure out how to do Spawn 01 peasent when I get home, but, it might be easier to place all the units in the map have it so when you select it, it is placed... but if you really want spawn 01 peasent then ill find out when i get home and can use the WE
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
RP Spawn
Events
Player - Player 1 (Red) types a chat message containing Spawn as A substring
Player - Player 2 (Blue) types a chat message containing Spawn as A substring
Player - Player 3 (Teal) types a chat message containing Spawn as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Substring((Entered chat string), 7, 8)))) Less than or equal to 15
Then - Actions
Unit Group - Pick every unit in (Units owned by (Triggering player) of type Spawner) and do (Actions)
Loop - Actions
Unit - Create (Integer((Substring((Entered chat string), 7, 8)))) (Unit-type((Substring((Entered chat string), 10, 99)))) for (Triggering player) at (Position of (Picked unit)) facing Default building facing degrees
Else - Actions
Game - Display to (Player group((Triggering player))) for 10.00 seconds the text: You must spawn 15 units or less
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
I believe with the thing about showing what you type in a cinematic is totally impossible.

You cant type in a cinematic.
 

Darimus

BattleForums Addict
Joined
Oct 2, 2003
Messages
681
Reaction score
0
Website
www.spaceman.vze.com
oh wait, if you mean like in a map where one person is like a DM or something, you could have all the players except the DM person in cinematic, and he could make up the messages
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
hey.. thats an awesome idea for a 'cinematic rp' map system thingy... i gotta think about that.

You could like have a seting in a rp that would enable a camera to start and the DM could change the camera settings while the other playres watched the movie!! It could be really awesome no?
 

NewPosts

New threads

Top