Dojo_dude Posted October 25, 2016 Posted October 25, 2016 So I was looking at making a script to have some in "distress" characters your PC can save from Super Mutants and the like. After browsing some existing scripts in SO Breeder it looks like I have to be Satoru Iwata (rip) to code this sort of interaction!? With tokens, and start and stop scripts... I was at one point scrolling past so many variables that I just commended all the SO modders efforts and clsed the GECK... *sigh*. Is there a list of base script code I could use to help me along?* *I'm trying to make two NPC's bang each other! btw
zippy57 Posted October 25, 2016 Posted October 25, 2016 call fnSexoutActRunFull ar_map "actora"::distressor "actorb"::in_distress "raper"::distressorObviously switching "distressor" and "in distress" with the references of the NPCs as needed, but that's all you need to just make NPCs bang.
Dojo_dude Posted October 26, 2016 Author Posted October 26, 2016 Wow, not working... not surprised... this is a very basic [rudimentary] scripting language which I have to decide to learn and just play around with when I'm not busy!I tried, for example.____________________SCN SexoutHitomiSexScriptfloat Hitomi_Distancefloat Ringo_Distanceint vDialbegin Gamemodeset Hitomi_Distance to HitomiRef.getdistance letsbang1set Ringo_Distance to RingoRef.getdistance letsbang1if vDial == 1 if Hitomi_Distance <= 264 && Ringo_Distance <= 264 HitomiRef.stopwaiting SexoutDoNothing call fnSexoutActRunFull (Ar_Map "ActorA"::HitomiRef, "ActorB"::RingoRef) set vDial to 0 elseif Hitomi_Distance > 264 || Ringo_Distance > 264 HitomiRef.wait SexoutDoNothing endifendifend-------------------------The NPC's don't do a darn thing except sandbox.
Dojo_dude Posted October 29, 2016 Author Posted October 29, 2016 Well after I answered your question, the script now works. Thank you. There is much to learn, I'll get reading.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.