Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Hud Conversation, then enemy appears...?

Author
Message
Facetious
18
Years of Service
User Offline
Joined: 5th Jul 2006
Location:
Posted: 16th Jul 2006 00:51
I'm using BenjaminA's NPC script and was wondering if there is a way to call a variation of Umans load entities script when the player finishes the conversation.

I have the player press "enter" to progress through the text and audio and would simply like to have an enemy entity appear behind the player and attack after the last time they press "enter".
Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 16th Jul 2006 06:29
At the end of the talking script, add the action (making sure that the seperator is a ":" if the previous command was a condition and a "," if it was an action) "activateifused=1", and then set the IfUsed field on that entity to the name of what you want to appear.

And with the enemy you want to appear, make sure its name is the same as the IfUsed of the other entity, and that "Spawn At Start?" is set to No.

And then, you're done!


Evil has a new name. Demo out now!
Facetious
18
Years of Service
User Offline
Joined: 5th Jul 2006
Location:
Posted: 16th Jul 2006 06:59
that's the problem, the conversation script is called by walking up to a character entity and they don't have an "ifused" item in their properties.
I guess I could switch everything over to a zone but I've got the script working good on the character, (he's using waypoints too), so I was hoping there was another way.
DJ TJJ
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: mobius
Posted: 16th Jul 2006 10:27
Quote: "I'm using BenjaminA's NPC script "


can you please put a link to it?

http://www.freewebs.com/djtjj3/
Dr Cuddles
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: In your toilet...*Splosh*
Posted: 17th Jul 2006 01:09
here ya go dude:
http://forum.thegamecreators.com/?m=forum_view&t=65207&b=23

"I dont' know what weapons will be fought with in WW3 but in WW4 it will be sticks and stones" - Albert Einstien
Mr noob
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 8th Aug 2006 18:54
Facetious, how did you make it that the character, walked a waypoint after using the conversation script?

sorry if all my post annoyed anyone, didn't know i was a hassle

Login to post a reply

Server time is: 2024-11-22 19:53:57
Your offset time is: 2024-11-22 19:53:57