asdasd123123 Posted April 15, 2021 Posted April 15, 2021 I was wondering if there's a script function on the actor object that would allow me to do say.. myActor.say("Hey there! Welcome"). I'm guessing there's some dialog registry system though just due to how dialog is processed.. I'm new to creation-engine
Psalam Posted April 15, 2021 Posted April 15, 2021 2 minutes ago, asdasd123123 said: I was wondering if there's a script function on the actor object that would allow me to do say.. myActor.say("Hey there! Welcome"). I'm guessing there's some dialog registry system though just due to how dialog is processed.. I'm new to creation-engine Dialogue (as you see it in the vanilla game) is handled through Quests in the CK. See here.
asdasd123123 Posted April 15, 2021 Author Posted April 15, 2021 3 minutes ago, Psalam said: Dialogue (as you see it in the vanilla game) is handled through Quests in the CK. See here. Does that link also cover the passive dialog? Like when an NPC is just passively talking to you, but not WITH you?
Psalam Posted April 15, 2021 Posted April 15, 2021 Just now, asdasd123123 said: Does that link also cover the passive dialog? Like when an NPC is just passively talking to you, but not WITH you? It can (and usually does). A lot of the rest is either done through AI packages (also covered in the CK wiki I linked) and scenes (ditto).
blank_v Posted April 17, 2021 Posted April 17, 2021 1) Create ForceGreet AI Package 2) Give it insane activation range like for example 8192 units 3) Give it Topic You want to start 4) Place Actor somewhere far away from player ( its also worth to make actor looking like static - just google ) 5) Actor will automaticaly start dialogue with player as soon You spawn him he will continue forcing player to talk as long he dont finish his Ai Package or as long You dont remove that Actor at least thats why i was using long time ago... //Edit: about point 3... You can use Sin / Cos functions to place Actor lets say 4096 units away from player or just use +/- option... but if you use Sin / Cos with random angle and then mutiple that by 4096 units then You will spawn that actor 4096 units away from player on random point on that circle ( Sin( random ) * 4096 ) + Player.x ( Cos( random ) * 4096 ) + Player.y or maybe Z... tbh i dont remember... i always have to fuck with CK Coordinates xDD i simply can't remember which is left / right or up / down xDD //Edit2: Actualy its gonna be math.sin and math.cos :x... You have to call those functions from Math in Papyrus...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.