here's what i have so far
script attached on the Base actor
actorscript extends Actorform property somevariable autoform property somevalue autoform property anothervalue autoFunction CoolFunction();Does something using variables on this script;such asIf somethingSomeVariable = SomeValueelseSomeVariable = AnotherValueEndIfEndFunction
script attached to ObjectReference (an activator)
activatorscript extends objectReferenceactor property actorref01 autoactor property actorref02 autoevent OnActivate(ObjectReference akActionRef);actorref01 performs actorscript.coolfunction();actorref02 performs actorscript.coolfunction() independently of actorref01 depending on conditionEndEvent
both actorref01 and actorref02 are references of the same base actor, and both have actorscript attached at their base.
i tried importing actorscript into the objectreferencescript using
Import ActorScript
but i get an error saying i cannot call coolfunction() by itself, it must be cast as a variable (something like that)
i also tried activatorscript extends actorscript, but that nullifies the activation, as it is now an actor script and not an objectreference script (does not activate in game)
any ideas?
